You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update all configs from config.py to use the env variable with URL (this solution doesn't suitable for many production envs I suppose, but it's ok for now)
Acceptance criteria
missing ENV variable shouldn't lead to an error, default config value should be prod
Tests
manual tests
unit tests with mocking for the class method
integration tests with mocking for emails
The text was updated successfully, but these errors were encountered:
What to refactor?
There are cases in the codebase when we are using hardcoding URLs to the project web app:
Refactor reason
The refactoring is needed because we need the ability to use different URLs per environment:
Suggested solution
config.py
to use the env variable with URL (this solution doesn't suitable for many production envs I suppose, but it's ok for now)Acceptance criteria
Tests
The text was updated successfully, but these errors were encountered: