comps-wrapper: Make tests pass on EL6
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
a4bbf475f1
commit
fdea7878f1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user