Skip to content

Remove all private member access from tests #360

Closed

Description

@callumforrester

There is some private member access (a.k.a foo._bar) going on in the test that has made it more difficult for us to migrate and refactor code. Private member access is discouraged and should be removed. Tests should be refactored to work without it. If they cannot work without it, the code they test should be refactored until they can.

Activity

  1. added
    tests
    on Feb 5, 2024
  2. joeshannon commented on Apr 29, 2024

    @joeshannon
    Contributor

    If this gets done there is a ruff rule (SLF) to enforce it.

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

    tests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions