From 835fd34ccd609e97cac5c78e94ee21f2453b85f1 Mon Sep 17 00:00:00 2001 From: Bo Wang Date: Wed, 27 Jan 2016 00:59:19 +0800 Subject: [PATCH] assertEquals is deprecated, use assertEqual Use assertEqual instead. ref:https://github.com/ openstack-dev/hacking/blob/master/hacking/checks/python23.py#L106 Change-Id: I4ebb0b236be7d24bdbbe0211f34c9b409fc14e26 Partial-Implements: blueprint porting-python3 --- openstack_dashboard/test/test_plugins/panel_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/test/test_plugins/panel_tests.py b/openstack_dashboard/test/test_plugins/panel_tests.py index c65f10b21e..5cb3787a66 100644 --- a/openstack_dashboard/test/test_plugins/panel_tests.py +++ b/openstack_dashboard/test/test_plugins/panel_tests.py @@ -55,9 +55,9 @@ class PanelPluginTests(test.PluginTestCase): [p.__class__ for p in panel_group]) # Ensure that static resources are properly injected pc = panel_config._10_admin_add_panel - self.assertEquals(pc.ADD_JS_FILES, HORIZON_CONFIG['js_files']) - self.assertEquals(pc.ADD_JS_SPEC_FILES, HORIZON_CONFIG['js_spec_files']) - self.assertEquals(pc.ADD_SCSS_FILES, HORIZON_CONFIG['scss_files']) + self.assertEqual(pc.ADD_JS_FILES, HORIZON_CONFIG['js_files']) + self.assertEqual(pc.ADD_JS_SPEC_FILES, HORIZON_CONFIG['js_spec_files']) + self.assertEqual(pc.ADD_SCSS_FILES, HORIZON_CONFIG['scss_files']) def test_remove_panel(self): dashboard = horizon.get_dashboard("admin")