Skip to content

Commit

Permalink
Merge pull request #11 from pytest-dev/nicoddemus-patch-1
Browse files Browse the repository at this point in the history
Update example in README
  • Loading branch information
BeyondEvil authored May 18, 2020
2 parents 40a3b3b + 19ed655 commit 9463d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ provided either by the command line or in a configuration file:
import pytest
@pytest.mark.skipif(
'dev' in pytest.config.getoption('base_url'),
"'dev' in config.getoption('base_url')",
reason='Search not available on dev')
def test_search(base_url):
assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()
Expand Down

0 comments on commit 9463d0a

Please sign in to comment.