diff options
Diffstat (limited to 'scripts/lib')
-rwxr-xr-x | scripts/lib/resulttool/manualexecution.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/resulttool/manualexecution.py b/scripts/lib/resulttool/manualexecution.py index 07835407d5..9a29b0b273 100755 --- a/scripts/lib/resulttool/manualexecution.py +++ b/scripts/lib/resulttool/manualexecution.py | |||
@@ -85,7 +85,7 @@ class ManualTestRunner(object): | |||
85 | print('------------------------------------------------------------------------') | 85 | print('------------------------------------------------------------------------') |
86 | print('You have total ' + str(total_steps) + ' test steps to be executed.') | 86 | print('You have total ' + str(total_steps) + ' test steps to be executed.') |
87 | print('------------------------------------------------------------------------\n') | 87 | print('------------------------------------------------------------------------\n') |
88 | for step in sorted((self.jdata[test_id]['test']['execution']).keys()): | 88 | for step, _ in sorted(self.jdata[test_id]['test']['execution'].items(), key=lambda x: int(x[0])): |
89 | print('Step %s: ' % step + self.jdata[test_id]['test']['execution']['%s' % step]['action']) | 89 | print('Step %s: ' % step + self.jdata[test_id]['test']['execution']['%s' % step]['action']) |
90 | expected_output = self.jdata[test_id]['test']['execution']['%s' % step]['expected_results'] | 90 | expected_output = self.jdata[test_id]['test']['execution']['%s' % step]['expected_results'] |
91 | if expected_output: | 91 | if expected_output: |