Skip to content

Commit 9463d0a

Browse files
authored
Merge pull request #11 from pytest-dev/nicoddemus-patch-1
Update example in README
2 parents 40a3b3b + 19ed655 commit 9463d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ provided either by the command line or in a configuration file:
135135
import pytest
136136
137137
@pytest.mark.skipif(
138-
'dev' in pytest.config.getoption('base_url'),
138+
"'dev' in config.getoption('base_url')",
139139
reason='Search not available on dev')
140140
def test_search(base_url):
141141
assert 200 == urllib2.urlopen('{0}/search'.format(base_url)).getcode()

0 commit comments

Comments
 (0)