From c63463fe20abee0b8d38474f21d842330ac42c3e Mon Sep 17 00:00:00 2001 From: JoeZiminski Date: Wed, 10 Apr 2024 21:20:08 +0100 Subject: [PATCH] Quick fix on final broken tests. --- tests/tests_integration/test_ssh_file_transfer.py | 1 + tests/tests_tui/test_tui_transfer.py | 2 +- tests/tests_tui/test_tui_widgets_and_defaults.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/tests_integration/test_ssh_file_transfer.py b/tests/tests_integration/test_ssh_file_transfer.py index 9e6959fb..a7df93b2 100644 --- a/tests/tests_integration/test_ssh_file_transfer.py +++ b/tests/tests_integration/test_ssh_file_transfer.py @@ -181,6 +181,7 @@ def test_all_data_transfer_options( transfer_function = test_utils.handle_upload_or_download( project, upload_or_download, + transfer_method="custom", swap_last_folder_only=project.testing_ssh, )[0] diff --git a/tests/tests_tui/test_tui_transfer.py b/tests/tests_tui/test_tui_transfer.py index 4bb14a53..2138136f 100644 --- a/tests/tests_tui/test_tui_transfer.py +++ b/tests/tests_tui/test_tui_transfer.py @@ -147,7 +147,7 @@ async def test_transfer_top_level_folder( ) await pilot.pause() - await self.check_persisent_settings( + await self.check_persistent_settings( pilot, ) diff --git a/tests/tests_tui/test_tui_widgets_and_defaults.py b/tests/tests_tui/test_tui_widgets_and_defaults.py index acff73db..5df01727 100644 --- a/tests/tests_tui/test_tui_widgets_and_defaults.py +++ b/tests/tests_tui/test_tui_widgets_and_defaults.py @@ -1252,7 +1252,7 @@ async def test_overwrite_existing_files(self, setup_project_paths): pilot, "#transfer_tab_overwrite_select" ) await self.move_select_to_position( - pilot, "#transfer_tab_overwrite_select", position=0 + pilot, "#transfer_tab_overwrite_select", position=5 ) self.check_overwrite_existing_files_configs( pilot, project_name, value="Always" @@ -1269,7 +1269,7 @@ async def test_overwrite_existing_files(self, setup_project_paths): # now check "If Source Newer" await self.move_select_to_position( - pilot, "#transfer_tab_overwrite_select", position=1 + pilot, "#transfer_tab_overwrite_select", position=6 ) self.check_overwrite_existing_files_configs( pilot, project_name, value="If Source Newer"