diff options
author | Zhongyue Luo <zhongyue.nah@intel.com> | 2013-08-16 09:23:32 +0800 |
---|---|---|
committer | Zhongyue Luo <zhongyue.nah@intel.com> | 2013-08-16 09:23:32 +0800 |
commit | 4319f6a849465bc70f6f9a82cf40ae7a21a158b1 (patch) | |
tree | da967899c153b659ddff7677d778b2537f97d0f9 | |
parent | eefbf3146babc6ea9504a150d443f6c2d2ef3f7a (diff) | |
download | oslotest-4319f6a849465bc70f6f9a82cf40ae7a21a158b1.tar.gz |
Bump hacking to 0.7.0
Fixes H202, H602 errors
Change-Id: Ic3045f15116d1d7a28b63bc94a0a341b9304ffdd
-rw-r--r-- | tests/unit/fixture/test_config.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/fixture/test_config.py b/tests/unit/fixture/test_config.py index 89582cc..3368272 100644 --- a/tests/unit/fixture/test_config.py +++ b/tests/unit/fixture/test_config.py @@ -32,14 +32,14 @@ class ConfigTestCase(BaseTestCase): 'testing_option', default='initial_value')) def test_overriden_value(self): - self.assertEquals(conf.get('testing_option'), 'initial_value') + self.assertEqual(conf.get('testing_option'), 'initial_value') self.config(testing_option='changed_value') - self.assertEquals(conf.get('testing_option'), - self.config_fixture.conf.get('testing_option')) + self.assertEqual(conf.get('testing_option'), + self.config_fixture.conf.get('testing_option')) def test_cleanup(self): self.config(testing_option='changed_value') - self.assertEquals(self.config_fixture.conf.get('testing_option'), - 'changed_value') + self.assertEqual(self.config_fixture.conf.get('testing_option'), + 'changed_value') self.config_fixture.conf.reset() - self.assertEquals(conf.get('testing_option'), 'initial_value') + self.assertEqual(conf.get('testing_option'), 'initial_value') |