You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second post of this series on testing includes a few helpful links to Pytest documentation, but unfortunately the pages seem to have moved elsewhere. (I get a "Page not found".) Perhaps the links should be amended.
A couple of examples:
The one on test fixtures:
Click’s testing.CliRunner can invoke the command-line interface from within a test case. Since this is likely to be needed by most test cases in this module, let’s turn it into a test fixture.
conftest.py
The mock_requests_get fixture is now used by two test modules. You could move it to a separate module and import from there, but Pytest offers a more convenient way
The text was updated successfully, but these errors were encountered:
The second post of this series on testing includes a few helpful links to Pytest documentation, but unfortunately the pages seem to have moved elsewhere. (I get a "Page not found".) Perhaps the links should be amended.
A couple of examples:
The one on test fixtures:
conftest.py
The text was updated successfully, but these errors were encountered: