Commit d2c7fbcc authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Remove left-over debug code



This also avoids writing to hard-coded paths under /tmp
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent bac957e5
......@@ -405,12 +405,6 @@ class TestCfgupgrade(unittest.TestCase):
_RunUpgrade(self.tmpdir, False, True, downgrade=True)
oldconf = self._LoadTestDataConfig(oldconfname)
newconf = self._LoadConfig()
old = open('/tmp/old', 'w')
old.write(json.dumps(oldconf))
old.close()
new = open('/tmp/new', 'w')
new.write(json.dumps(newconf))
new.close()
self.assertEqual(oldconf, newconf)
def testDowngradeFullConfigBackwardFrom_2_7(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment