Skip to content

Added check for pytest as test runner for IS_RUNNING_TESTS. #2137

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tim-schilling
Copy link
Member

Fixes #2136

I could not find a way to reasonably test this in our test suite.

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

@paduszyk
Copy link

@tim-schilling You'd like to update:

def test_debug_toolbar_installed_when_running_tests(self, reverse):

or write a new test?

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

Successfully merging this pull request may close these issues.

IS_RUNNING_TESTS config should also detect Pytest runner
2 participants