Replace assertNotEquals with assertNotEqual.

The former is deprecated and the latter should be used.

Change-Id: I9d6dca41cb737062e6d4467c24dbc88901ab9a14
This commit is contained in:
Cyril Roelandt 2014-10-30 08:56:50 +01:00
parent 1e83840c98
commit 677f374a68
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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"""

View File

@ -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,