mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-26 08:09:51 -04:00
Fix test style issues
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -12,7 +12,6 @@ def test_no_redirect_notify_to_beta_non_production(monkeypatch, client_request):
|
||||
monkeypatch.setitem(current_app.config, "NOTIFY_ENVIRONMENT", "development")
|
||||
assert current_app.config["NOTIFY_ENVIRONMENT"] == "development"
|
||||
|
||||
|
||||
client_request.get_response_from_url(
|
||||
"https://notify.gov/using-notify/get-started",
|
||||
_expected_status=200
|
||||
@@ -28,6 +27,7 @@ def test_redirect_notify_to_beta(monkeypatch, client_request):
|
||||
_expected_status=302
|
||||
)
|
||||
|
||||
|
||||
def test_no_redirect_beta_notify_to_beta(monkeypatch, client_request):
|
||||
monkeypatch.setitem(current_app.config, "NOTIFY_ENVIRONMENT", "production")
|
||||
assert current_app.config["NOTIFY_ENVIRONMENT"] == "production"
|
||||
|
||||
Reference in New Issue
Block a user