10BC0 Disable sort on environment table when metadata is ordered by jacebrowning · Pull Request #162 · pytest-dev/pytest-html · GitHub
[go: up one dir, main page]

Skip to content

Conversation

jacebrowning
Copy link
Collaborator

Closes #158

@jacebrowning jacebrowning force-pushed the preserve-environment-order branch from 26e626f to 9e21837 Compare May 3, 2018 20:02
@jacebrowning
Copy link
Collaborator Author

@davehunt Please take a look at this when you get a chance.

I've already integrated this into one of much projects like so:

def pytest_configure(config):
    metadata = OrderedDict({
        'FOO': 1,
        'BAR': 2,
    })
    setattr(config, '_metadata', metadata)
``

Copy link
Collaborator
@davehunt davehunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, @jacebrowning. This is awesome, thanks for including a test! I'll prepare a new release.

@davehunt davehunt merged commit fb6a456 into pytest-dev:master May 22, 2018
@jacebrowning jacebrowning deleted the preserve-environment-order branch May 26, 2018 17:58
@ssbarnea ssbarnea added the bug This issue/PR relates to a bug. label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom environment table order
3 participants
0