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

register freeze_time mark with pytest #14

Closed
wants to merge 2 commits into from
Closed

register freeze_time mark with pytest #14

wants to merge 2 commits into from

Conversation

dimaqq
Copy link

@dimaqq dimaqq commented Jun 3, 2019

For #13

@radiac radiac mentioned this pull request Jun 16, 2019
Copy link

@alysivji alysivji left a comment

Choose a reason for hiding this comment

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

LGTM. Straight out of the pytest docs

@dimaqq
Copy link
Author

dimaqq commented Jul 2, 2019

Help needed to pacify continuous testing.

@alysivji
Copy link

alysivji commented Jul 2, 2019

Looks like the other PRs are failing with the same build... I don't have a Windows machine to test it out, but I did notice that the warning still does show up in the builds:

PytestUnknownMarkWarning: Unknown pytest.mark.freeze_time - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html

Taking a look at the docs again... you have the function in a class, in the docs, the function is in the module. Maybe that's the problem?

@ktosiek
Copy link
Owner

ktosiek commented Jan 28, 2020

This was fixed by other PRs (#17 and #20). I'm closing this one.

@ktosiek ktosiek closed this Jan 28, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants