summaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-12-19 11:45:57 +0000
committerEmma Foley <emma.l.foley@intel.com>2018-01-25 20:23:08 +0000
commit298e2e529e815f31c7ae5e0e1154a7fdac92a067 (patch)
treee8be63b8bf23dbed871824c33ca44c6a15e5abba /yardstick
parent44ee5e004f3af5dcdbbc1d172faba91b8419b6d6 (diff)
Replace assertEquals with assertEqual
unittest.assertEquals is deprecated[1], and has been replaced with unittest.assertEqual. [1] https://docs.python.org/2/library/unittest.html#deprecated-aliases Change-Id: I9c6320e3a9ec5528036b529a9c32fc48b0bcfd62 JIRA: YARDSTICK-864 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/tests/unit/common/test_yaml_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/tests/unit/common/test_yaml_loader.py b/yardstick/tests/unit/common/test_yaml_loader.py
index 90cbb8157..6c2beb422 100644
--- a/yardstick/tests/unit/common/test_yaml_loader.py
+++ b/yardstick/tests/unit/common/test_yaml_loader.py
@@ -22,7 +22,7 @@ class TemplateFormatTestCase(unittest.TestCase):
def test_parse_to_value_exception(self):
- self.assertEquals(yaml_loader.yaml_load("string"), u"string")
+ self.assertEqual(yaml_loader.yaml_load("string"), u"string")
def main():