@@ -334,6 +334,7 @@ Tom Dalton
|
|||||||
Tom Viner
|
Tom Viner
|
||||||
Tomáš Gavenčiak
|
Tomáš Gavenčiak
|
||||||
Tomer Keren
|
Tomer Keren
|
||||||
|
Tony Narlock
|
||||||
Tor Colvin
|
Tor Colvin
|
||||||
Trevor Bekolay
|
Trevor Bekolay
|
||||||
Tyler Goodlet
|
Tyler Goodlet
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
How to monkeypatch/mock modules and environments
|
How to monkeypatch/mock modules and environments
|
||||||
================================================================
|
================================================================
|
||||||
|
|
||||||
.. currentmodule:: _pytest.monkeypatch
|
.. currentmodule:: pytest
|
||||||
|
|
||||||
Sometimes tests need to invoke functionality which depends
|
Sometimes tests need to invoke functionality which depends
|
||||||
on global settings or which invokes code which cannot be easily
|
on global settings or which invokes code which cannot be easily
|
||||||
@@ -436,7 +436,7 @@ separate fixtures for each potential mock and reference them in the needed tests
|
|||||||
_ = app.create_connection_string()
|
_ = app.create_connection_string()
|
||||||
|
|
||||||
|
|
||||||
.. currentmodule:: _pytest.monkeypatch
|
.. currentmodule:: pytest
|
||||||
|
|
||||||
API Reference
|
API Reference
|
||||||
-------------
|
-------------
|
||||||
|
|||||||
Reference in New Issue
Block a user