Skip to content

Commit a629d12

Browse files
axilblueyed
authored andcommitted
Fix example in docs (pytest-dev#481)
1 parent f0bf77e commit a629d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/helpers.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ when trying to access the database.
7474

7575
@pytest.mark.urls('myapp.test_urls')
7676
def test_something(client):
77-
assert 'Success!' in client.get('/some_url_defined_in_test_urls/')
77+
assert 'Success!' in client.get('/some_url_defined_in_test_urls/').content
7878

7979

8080
``pytest.mark.ignore_template_errors`` - ignore invalid template variables

0 commit comments

Comments
 (0)