mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 18:37:33 -04:00
Reduce uneccessary indentation
This commit is contained in:
@@ -599,9 +599,9 @@ def test_switch_service_to_research_mode(
|
||||
active_user_with_permissions,
|
||||
mock_get_service,
|
||||
mock_has_permissions,
|
||||
mocker):
|
||||
with app_.test_request_context():
|
||||
with app_.test_client() as client:
|
||||
mocker
|
||||
):
|
||||
with app_.test_request_context(), app_.test_client() as client:
|
||||
mocker.patch('app.service_api_client.post', return_value=service_one)
|
||||
|
||||
client.login(active_user_with_permissions)
|
||||
|
||||
Reference in New Issue
Block a user