merging with default

--HG--
branch : cx_freeze-support
This commit is contained in:
Bruno Oliveira
2014-08-23 10:05:40 -03:00
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ requests in all your tests, you can do::
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``