Skip to content

pytest 3.6 support #3

Closed
Closed
@ostcar

Description

@ostcar

I am new to pytest, so maybe I misunderstand something.

I installed your plugin and got:

...
TERNALERROR>   File ".../site-packages/pytest_django_ordering/plugin.py", line 13, in get_marker_transaction
INTERNALERROR>     return marker.transaction
INTERNALERROR> AttributeError: 'MarkInfo' object has no attribute 'transaction'

I could fix this by replacing marker.transaction with marker.kwargs['transaction']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions