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

Initialize Django settings explicitly in tests #2508

Open
hackdna opened this issue Jan 19, 2018 · 0 comments
Open

Initialize Django settings explicitly in tests #2508

hackdna opened this issue Jan 19, 2018 · 0 comments

Comments

@hackdna
Copy link
Member

hackdna commented Jan 19, 2018

Currently, default values are used implicitly in tests. Most of these values come from config.json which can be different for every environment. This makes tests brittle (example: #2235).

All Python tests should initialize any Django settings used explicitly with override_settings() or modify_settings().

See also #822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Technical Debt
  
Backlog
Development

No branches or pull requests

2 participants