Skip to content

Links to Pytest Documentation Broken #280

Description

@navneethc

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions