Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to Pytest Documentation Broken #280

Open
navneethc opened this issue May 14, 2021 · 0 comments
Open

Links to Pytest Documentation Broken #280

navneethc opened this issue May 14, 2021 · 0 comments

Comments

@navneethc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant