Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lettuce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
lettuce
Commits
d24447cb
Commit
d24447cb
authored
Aug 27, 2015
by
Gabriel Falcão
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #460 from dnozay/deterministic_step_status
cannot assume that dict items are ordered
parents
6f24006e
499abdd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lettuce/plugins/colored_shell_output.py
+6
-6
No files found.
lettuce/plugins/colored_shell_output.py
View file @
d24447cb
...
...
@@ -237,13 +237,13 @@ def print_end(total=None):
total
.
scenarios_passed
))
steps_details
=
[]
kinds_and_colors
=
{
'failed'
:
'
\033
[0;31m'
,
'skipped'
:
'
\033
[0;36m'
,
'undefined'
:
'
\033
[0;33m'
}
kinds_and_colors
=
(
(
'failed'
,
'
\033
[0;31m'
)
,
(
'skipped'
,
'
\033
[0;36m'
)
,
(
'undefined'
,
'
\033
[0;33m'
),
)
for
kind
,
color
in
kinds_and_colors
.
items
()
:
for
kind
,
color
in
kinds_and_colors
:
attr
=
'steps_
%
s'
%
kind
stotal
=
getattr
(
total
,
attr
)
if
stotal
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment