Merge "Replace assertNotEquals with assertNotEqual."
This commit is contained in:
commit
a15a7cec42
@ -24,4 +24,4 @@ class TestConfigParser(fixture.Base):
|
||||
'repository_name', {})
|
||||
specified_text = Repository.prepare_config(Template().get_repository(),
|
||||
'repository_name', {'version_table': '_other_table'})
|
||||
self.assertNotEquals(default_text, specified_text)
|
||||
self.assertNotEqual(default_text, specified_text)
|
||||
|
@ -44,7 +44,7 @@ class TestRepository(fixture.Pathed):
|
||||
self.assertTrue(repos.config.get('db_settings', 'version_table'))
|
||||
|
||||
# version_table's default isn't none
|
||||
self.assertNotEquals(repos.config.get('db_settings', 'version_table'), 'None')
|
||||
self.assertNotEqual(repos.config.get('db_settings', 'version_table'), 'None')
|
||||
|
||||
def test_load_notfound(self):
|
||||
"""Nonexistant repositories shouldn't be loaded"""
|
||||
|
@ -101,7 +101,7 @@ class TestShellCommands(Shell):
|
||||
|
||||
# The default table should not be None
|
||||
repos_ = Repository(repos)
|
||||
self.assertNotEquals(repos_.config.get('db_settings', 'version_table'), 'None')
|
||||
self.assertNotEqual(repos_.config.get('db_settings', 'version_table'), 'None')
|
||||
|
||||
# Can't create it again: it already exists
|
||||
result = self.env.run('migrate create %s repository_name' % repos,
|
||||
|
Loading…
x
Reference in New Issue
Block a user