diff --git a/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py b/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py index e6c85215cc..43fdfc8604 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py +++ b/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py @@ -269,7 +269,7 @@ class FloatingIpViewTests(test.TestCase): self.assertEqual(set(['ajax-modal']), set(allocate_action.classes)) self.assertEqual('Allocate IP To Project', six.text_type(allocate_action.verbose_name)) - self.assertEqual(None, allocate_action.policy_rules) + self.assertIsNone(allocate_action.policy_rules) url = 'horizon:project:access_and_security:floating_ips:allocate' self.assertEqual(url, allocate_action.url) diff --git a/openstack_dashboard/dashboards/project/access_and_security/tests.py b/openstack_dashboard/dashboards/project/access_and_security/tests.py index 046c74fd1e..a90fe4cb48 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/tests.py +++ b/openstack_dashboard/dashboards/project/access_and_security/tests.py @@ -219,7 +219,7 @@ class SecurityGroupTabTests(test.TestCase): self.assertEqual('Create Security Group', six.text_type(create_action.verbose_name)) - self.assertEqual(None, create_action.policy_rules) + self.assertIsNone(create_action.policy_rules) self.assertEqual(set(['ajax-modal']), set(create_action.classes)) url = 'horizon:project:access_and_security:security_groups:create'