summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjuraj.linkes <juraj.linkes@pantheon.tech>2018-08-28 18:45:18 +0200
committerDamjan Marion <dmarion@me.com>2018-08-30 10:17:54 +0000
commitbe460e72d5d87e4272f4663d9c3edcdc147e70b6 (patch)
treef15bf39ae7d030a76df43b9d296d004177eac148 /test
parent149d0e2813c0777497f2e312a0e2a7eb0c07ac6c (diff)
Fix the default step when using STEP=1 while testing
Change-Id: I6b2950dfd0d9023b20e24845b3bce20cf4ba66df Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'test')
-rw-r--r--test/hook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hook.py b/test/hook.py
index d7bfef6c101..7287aaa1920 100644
--- a/test/hook.py
+++ b/test/hook.py
@@ -182,7 +182,7 @@ class StepHook(PollHook):
while True:
print("Enter your choice, if any, and press ENTER to continue "
"running the testcase...")
- choice = sys.stdin.readline()
+ choice = sys.stdin.readline().rstrip('\r\n')
if choice == "":
choice = None
try: