cc-4227: updated install scripts for upgrade

This commit is contained in:
Rudi Grinberg 2012-08-20 12:32:16 -04:00
parent abeef43a5b
commit 6c1e822b6a
4 changed files with 22 additions and 16 deletions

View file

@ -38,7 +38,7 @@ class TestUpgrade(unittest.TestCase):
self.assertTrue( os.path.exists(cf['source']['path']) )
self.assertTrue( os.path.exists(cf['dest']['path']) )
# Finished preparing
upgrade2dot2.upgrade({ cf['source']['path'] : cf['dest']['path'] })
upgrade2dot2.upgrade(cf['source']['path'], cf['dest']['path'] )
c1, c2 = ConfigObj(cf['source']['path']), ConfigObj(cf['dest']['path'])
self.assertEqual( c2['key2'], 'val2')
self.assertEqual( c2['key4'], '10')