comps-wrapper: Make tests pass on EL6

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2018-05-02 16:32:18 +02:00
parent a4bbf475f1
commit fdea7878f1

View File

@ -111,7 +111,7 @@ class CompsFilterTest(unittest.TestCase):
self.filter.write(self.output) self.filter.write(self.output)
self.output.flush() self.output.flush()
with open(self.output.name, 'r') as f: with open(self.output.name, 'r') as f:
actual = f.read().strip() actual = f.read().strip().replace('utf-8', 'UTF-8')
with open(filepath, 'r') as f: with open(filepath, 'r') as f:
expected = f.read().strip() expected = f.read().strip()
self.maxDiff = None self.maxDiff = None