From 26e15862884933fced7694e240605d99e02da4f6 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Mon, 22 Feb 2016 12:20:20 +0100 Subject: [PATCH] Make the patronictl test provide an input for the schedule, even if it's empty. --- tests/test_ctl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_ctl.py b/tests/test_ctl.py index 16814839..9ae7e3f0 100644 --- a/tests/test_ctl.py +++ b/tests/test_ctl.py @@ -118,6 +118,7 @@ y''') # Aborting failover,as we anser NO to the confirmation result = self.runner.invoke(ctl, ['failover', 'dummy', '--dcs', '8.8.8.8'], input='''leader other + N''') assert result.exit_code == 1 @@ -159,6 +160,7 @@ y''') # No members available result = self.runner.invoke(ctl, ['failover', 'dummy', '--dcs', '8.8.8.8'], input='''leader other + y''') assert result.exit_code == 1