Fix typo in db migration test function name
Function name is 'test_downgrade_none_version', not 'test_downgrade_none_verison'. Change-Id: I32ae271a15aaea6eac396e1349496f5b29433e3a
This commit is contained in:
parent
9623521446
commit
2dcb0d5475
@ -45,7 +45,7 @@ class MigrationTestCase(test.TestCase):
|
|||||||
downgrade.assert_called_once_with('fake_config', 'version_1')
|
downgrade.assert_called_once_with('fake_config', 'version_1')
|
||||||
|
|
||||||
@mock.patch('alembic.command.downgrade')
|
@mock.patch('alembic.command.downgrade')
|
||||||
def test_downgrade_none_verison(self, downgrade):
|
def test_downgrade_none_version(self, downgrade):
|
||||||
migration.downgrade(None)
|
migration.downgrade(None)
|
||||||
downgrade.assert_called_once_with('fake_config', 'base')
|
downgrade.assert_called_once_with('fake_config', 'base')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user