From 995b5aa2f00ab9fd69f7fbc1ae42eae08da062a2 Mon Sep 17 00:00:00 2001 From: Lazlo Westerhof Date: Wed, 23 Oct 2024 14:00:59 +0200 Subject: [PATCH] UI tests: fix syntax --- tests/step_defs/ui/test_ui_admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/step_defs/ui/test_ui_admin.py b/tests/step_defs/ui/test_ui_admin.py index bf6f79c7f..adda1b237 100644 --- a/tests/step_defs/ui/test_ui_admin.py +++ b/tests/step_defs/ui/test_ui_admin.py @@ -220,4 +220,4 @@ def ui_admin_click_delete_button(browser): @then(parsers.parse('the success message for deleting the file format list {filename} is shown')) def ui_admin_delete_file_format_success(browser, filename): - assert browser.is_text_present(f"File format list '{filename}' deleted successfully.") + assert browser.is_text_present("File format list '{}' uploaded successfully.".format(filename))