Reduce uneccessary indentation

This commit is contained in:
Chris Hill-Scott
2016-08-23 10:21:05 +01:00
parent 0f6a090470
commit f8db73ecc7
@@ -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)