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

Create mock environment to test cases in test_settings #475

Open
jonespm opened this issue Apr 9, 2024 · 0 comments
Open

Create mock environment to test cases in test_settings #475

jonespm opened this issue Apr 9, 2024 · 0 comments

Comments

@jonespm
Copy link
Member

jonespm commented Apr 9, 2024

The test for test_settings.py tests values set on the settings which are read from the environment. We either should set some mock values against the settings or have them set in the environment with something like monkeypatch.setenv or probably more likely SimpleTestCase.settings() to actually test that these settings are loaded correctly with different sets of settings.

I'd also include a test case for REDIS_HOST that includes spaces.

Originally posted by @jonespm in #473 (review)

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