Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlines table is not ordered as in feature file in junit report #475

Open
jfroco opened this issue Dec 30, 2014 · 1 comment
Open

Outlines table is not ordered as in feature file in junit report #475

jfroco opened this issue Dec 30, 2014 · 1 comment

Comments

@jfroco
Copy link

jfroco commented Dec 30, 2014

I have this outline table in my feature file

| url | title | text |
| http://pythonhosted.org/ | Python | KKKK |
| https://www.youtube.com/?gl=CL&hl=es-419 | YouTube | language |

In the junit reports the columns are not in the same order.

@name:| http://pythonhosted.org/ | KKKK | Python |

I corrected this by changing outlines from a dict to a OrderedDict: #474

@sgpy
Copy link

sgpy commented Feb 14, 2019

@jfroco PY3-fork takes care of this issue Python 3 support

Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 03:13:28) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
x = dict()
x['b'] = 1    
x['a'] = 2
x['d'] = 3
x['c'] = 4
from pprint import pprint
pprint(x)
{'a': 2, 'b': 1, 'c': 4, 'd': 3}
x.keys()
dict_keys(['b', 'a', 'd', 'c'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants