Example #1
0
 def test_downgrade_without_revision(self, downgrade):
     migration.downgrade(None)
     downgrade.assert_called_once_with('fake_config', 'base')
Example #2
0
 def test_downgrade_without_revision(self, downgrade):
     migration.downgrade(None)
     downgrade.assert_called_once_with('fake_config', 'base')
Example #3
0
 def test_downgrade(self, downgrade):
     migration.downgrade('some_revision')
     downgrade.assert_called_once_with('fake_config', 'some_revision')
Example #4
0
 def test_downgrade(self, downgrade):
     migration.downgrade('some_revision')
     downgrade.assert_called_once_with('fake_config', 'some_revision')