Skip to content
Snippets Groups Projects
Commit 9cd372ad authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix unittests broken by revision 360.

Reviewed-by: schreiberal
parent 1e020d1b
No related branches found
No related tags found
No related merge requests found
...@@ -455,7 +455,7 @@ class TestEtcHosts(unittest.TestCase): ...@@ -455,7 +455,7 @@ class TestEtcHosts(unittest.TestCase):
f = open(tmpname, 'r') f = open(tmpname, 'r')
try: try:
self.assertEqual(md5.new(f.read(8192)).hexdigest(), self.assertEqual(md5.new(f.read(8192)).hexdigest(),
'410c141dcafffd505f662a41713d2eab') '284c3454c158d4c4284eeb59910ab00b')
finally: finally:
f.close() f.close()
finally: finally:
...@@ -469,7 +469,7 @@ class TestEtcHosts(unittest.TestCase): ...@@ -469,7 +469,7 @@ class TestEtcHosts(unittest.TestCase):
f = open(tmpname, 'r') f = open(tmpname, 'r')
try: try:
self.assertEqual(md5.new(f.read(8192)).hexdigest(), self.assertEqual(md5.new(f.read(8192)).hexdigest(),
'bbf60c542dec949f3968b59522ec0d7b') '1486c19f1fcb626f893c243e3ce38c8d')
finally: finally:
f.close() f.close()
finally: finally:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment