diff --git a/tests/test_ctl.py b/tests/test_ctl.py index f8f2783a..4092a669 100644 --- a/tests/test_ctl.py +++ b/tests/test_ctl.py @@ -390,8 +390,8 @@ leader''') @patch('patroni.ctl.load_config', Mock(return_value={'dcs': {'scheme': 'zookeeper', 'hostname': 'localhost', 'port': 2181}})) def test_zookeeper(self): - self.runner.invoke(ctl, ['list']) + self.runner.invoke(ctl, ['list', 'foo']) @patch('patroni.ctl.load_config', Mock(return_value={'dcs': {'scheme': 'exhibitor', 'hostname': 'localhost', 'port': 8181}})) def test_exhibitor(self): - self.runner.invoke(ctl, ['list']) + self.runner.invoke(ctl, ['list', 'foo'])