1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/a7e8085f8437/
Changeset:   a7e8085f8437
User:        t-8ch
Date:        2014-08-18 21:44:34
Summary:     [doc] fix requests monkeypatch example
Affected #:  1 file

diff -r f0d4a70ab98a3f1e82f25531ed7e1c9979c12b13 -r 
a7e8085f843717871030cabb0906084e18f3bd30 doc/en/monkeypatch.txt
--- a/doc/en/monkeypatch.txt
+++ b/doc/en/monkeypatch.txt
@@ -48,7 +48,7 @@
     import pytest
     @pytest.fixture(autouse=True)
     def no_requests(monkeypatch):
-        monkeypatch.delattr("requests.session.Session.request")
+        monkeypatch.delattr("requests.sessions.Session.request")
 
 This autouse fixture will be executed for each test function and it
 will delete the method ``request.session.Session.request``

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to