Created
August 25, 2017 12:41
-
-
Save t2b/ca15f12f073d50afbdab066d30c2bdce to your computer and use it in GitHub Desktop.
pytest skip test until date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import date | |
import pytest | |
@pytest.mark.skipif(date.today() < date(2017, 10, 1), reason='not yet implemented') | |
def test_foobar(): | |
assert False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment