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

Use settings fixture in tests #15237

Merged
merged 1 commit into from
May 30, 2024

Conversation

chrismeyersfsu
Copy link
Member

@chrismeyersfsu chrismeyersfsu commented May 30, 2024

SUMMARY

Example of the failure this was causing here FAILED awx/main/tests/unit/test_settings.py::test_default_settings - Assertio... https://github.com/ansible/awx/actions/runs/9304287261/job/25608497427?pr=15199

  • Otherwise, settings value changes bleeds over into other tests.
  • Remove django.conf settings import so that we do not accidentally forget to use the settings fixture.
ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION
devel
ADDITIONAL INFORMATION

* Otherwise, settings value changes bleeds over into other tests.
* Remove django.conf settings import so that we do not accidentally
  forget to use the settings fixture.
@chrismeyersfsu chrismeyersfsu merged commit ceafa14 into ansible:devel May 30, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants