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:
Thomas Bechtold 2015-01-06 10:53:45 +01:00
parent 9623521446
commit 2dcb0d5475

View File

@ -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')