From e44d898e0cca3be51fad03032397940af832005a Mon Sep 17 00:00:00 2001 From: James Page <james.page@ubuntu.com> Date: Wed, 16 Sep 2015 10:20:49 +0100 Subject: [PATCH] Fixup more lint --- unit_tests/test_neutron_api_hooks.py | 6 ++++-- unit_tests/test_neutron_api_utils.py | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/unit_tests/test_neutron_api_hooks.py b/unit_tests/test_neutron_api_hooks.py index 9ecf1eee..782b0275 100644 --- a/unit_tests/test_neutron_api_hooks.py +++ b/unit_tests/test_neutron_api_hooks.py @@ -702,7 +702,8 @@ class NeutronAPIHooksTests(CharmTestCase): self.relation_ids.side_effect = self._fake_relids _id_rel_joined = self.patch('identity_joined') hooks.configure_https() - self.check_call.assert_called_with(['a2ensite', 'openstack_https_frontend']) + self.check_call.assert_called_with(['a2ensite', + 'openstack_https_frontend']) self.assertTrue(_id_rel_joined.called) def test_configure_https_nohttps(self): @@ -710,7 +711,8 @@ class NeutronAPIHooksTests(CharmTestCase): self.relation_ids.side_effect = self._fake_relids _id_rel_joined = self.patch('identity_joined') hooks.configure_https() - self.check_call.assert_called_with(['a2dissite', 'openstack_https_frontend']) + self.check_call.assert_called_with(['a2dissite', + 'openstack_https_frontend']) self.assertTrue(_id_rel_joined.called) def test_conditional_neutron_migration_icehouse(self): diff --git a/unit_tests/test_neutron_api_utils.py b/unit_tests/test_neutron_api_utils.py index 1bd829f4..c52162b0 100644 --- a/unit_tests/test_neutron_api_utils.py +++ b/unit_tests/test_neutron_api_utils.py @@ -132,7 +132,6 @@ class TestNeutronAPIUtils(CharmTestCase): [self.assertIn(q_conf, _map.keys()) for q_conf in confs] self.assertTrue(nutils.APACHE_24_CONF not in _map.keys()) - @patch.object(nutils, 'manage_plugin') @patch('os.path.exists') def test_resource_map_liberty(self, _path_exists, _manage_plugin):