Example #1
0
 def test_save_load_state(self):
     svn_rebase.save_state(
             'https://svn_server/path',
             [1, 2, 3],
             None,
             False)
     self.assertEqual(svn_rebase.load_state(), {
         'source': 'https://svn_server/path',
         'revisions': [1, 2, 3],
         'destination': None,
         'auto_commit': False,
         })
Example #2
0
 def test_load_state_non_existent(self):
     self.assertEqual(svn_rebase.load_state(), None)