Fix error where sending test message flow skipped first placeholder

first way round and then collected placeholders again. Now the flow
collects all placeholders in one round.

Also fix the back link for step-1 for test flow so it goes back
to choosing recipient number

Also move operators around following flake8's advice :)
This commit is contained in:
Pea Tyczynska
2019-05-28 17:44:27 +01:00
parent 378fec281a
commit 21ab8638b9
2 changed files with 24 additions and 14 deletions

View File

@@ -380,7 +380,7 @@ def test_shows_error_if_parsing_exception(
)
def test_upload_csvfile_with_errors_shows_check_page_with_errors(
def test_upload_csv_file_with_errors_shows_check_page_with_errors(
logged_in_client,
service_one,
mocker,
@@ -507,7 +507,7 @@ def test_upload_csvfile_with_errors_shows_check_page_with_errors(
)
),
])
def test_upload_csvfile_with_missing_columns_shows_error(
def test_upload_csv_file_with_missing_columns_shows_error(
client_request,
mocker,
mock_get_service_template_with_placeholders,