Reformat whitespace to be more compact

This commit is contained in:
Chris Hill-Scott
2017-10-03 13:17:56 +01:00
parent d7fc7b082f
commit 1b6d9d7f2a

View File

@@ -127,36 +127,27 @@ def test_should_show_api_keys_page(
@pytest.mark.parametrize('service_mock, expected_options', [ @pytest.mark.parametrize('service_mock, expected_options', [
( (mock_get_service, [
mock_get_service, (
[ 'Live sends to anyone '
( 'Not available because your service is in trial mode'
'Live sends to anyone ' ),
'Not available because your service is in trial mode' 'Team and whitelist limits who you can send to',
), 'Test pretends to send messages',
'Team and whitelist limits who you can send to', ]),
'Test pretends to send messages', (mock_get_live_service, [
] 'Live sends to anyone',
), 'Team and whitelist limits who you can send to',
( 'Test pretends to send messages',
mock_get_live_service, ]),
[ (mock_get_service_with_letters, [
'Live sends to anyone', 'Live sends to anyone',
'Team and whitelist limits who you can send to', (
'Test pretends to send messages', 'Team and whitelist limits who you can send to '
] 'Cant be used to send letters'
), ),
( 'Test pretends to send messages',
mock_get_service_with_letters, ]),
[
'Live sends to anyone',
(
'Team and whitelist limits who you can send to '
'Cant be used to send letters'
),
'Test pretends to send messages',
]
),
]) ])
def test_should_show_create_api_key_page( def test_should_show_create_api_key_page(
client_request, client_request,