Merge "Refactor assertEqual statement that includes 'True'"
This commit is contained in:
commit
78e16c7742
@ -438,5 +438,6 @@ class TestPortForwardingPlugin(testlib_api.SqlTestCase):
|
|||||||
mock_config_opts_get.side_effect = cfg.NoSuchOptError('test_svc_plug')
|
mock_config_opts_get.side_effect = cfg.NoSuchOptError('test_svc_plug')
|
||||||
plugins, rpc_required = pf_plugin._required_service_plugins()
|
plugins, rpc_required = pf_plugin._required_service_plugins()
|
||||||
mock_config_opts_get.assert_called_once()
|
mock_config_opts_get.assert_called_once()
|
||||||
|
expected = (['router'], True)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
(['router'], True), (plugins, rpc_required), description)
|
expected, (plugins, rpc_required), description)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user