diff --git a/tests/tests_integration/test_command_line_interface.py b/tests/tests_integration/test_command_line_interface.py index 4180a764..f4262c18 100644 --- a/tests/tests_integration/test_command_line_interface.py +++ b/tests/tests_integration/test_command_line_interface.py @@ -174,7 +174,7 @@ def test_make_config_file_non_default_variables(self, tmp_path): def test_make_sub_folders_variable(self, sep): stdout, _ = test_utils.run_cli( f" make{sep}sub{sep}folders " - f"--data_type all " + f"--datatype all " f"--sub_names 001 " f"--ses_names 002 " ) @@ -182,7 +182,7 @@ def test_make_sub_folders_variable(self, sep): args_, kwargs_ = self.decode(stdout) assert args_ == [] - assert kwargs_["data_type"] == ["all"] + assert kwargs_["datatype"] == ["all"] assert kwargs_["sub_names"] == ["001"] assert kwargs_["ses_names"] == ["002"] @@ -195,7 +195,7 @@ def test_upload_download_variables(self, upload_or_download, sep): """ stdout, _ = test_utils.run_cli( f" {upload_or_download} " - f"--data{sep}type all " + f"--datatype all " f"--sub{sep}names one " f"--ses{sep}names two" ) @@ -205,7 +205,7 @@ def test_upload_download_variables(self, upload_or_download, sep): stdout, _ = test_utils.run_cli( f" {upload_or_download} " - f"--data{sep}type all " + f"--datatype all " f"--sub{sep}names one " f"--ses{sep}names two " f"--dry{sep}run" @@ -282,14 +282,14 @@ def test_multiple_inputs(self, command): """ stdout, stderr = test_utils.run_cli( f"{command} " - f"--data_type all " + f"--datatype all " f"--sub_names one two 3 sub-004 sub-w23@ " f"--ses_names 5 06 007" ) _, kwargs_ = self.decode(stdout) - assert kwargs_["data_type"] == ["all"] + assert kwargs_["datatype"] == ["all"] assert kwargs_["sub_names"] == [ "one", "two", @@ -400,7 +400,7 @@ def test_make_sub_folders(self, setup_project): ses = ["ses-123", "ses-999"] test_utils.run_cli( - f"make_sub_folders --data_type all --sub_names {self.to_cli_input(subs)} --ses_names {self.to_cli_input(ses)} ", # noqa + f"make_sub_folders --datatype all --sub_names {self.to_cli_input(subs)} --ses_names {self.to_cli_input(ses)} ", # noqa setup_project.project_name, ) @@ -448,7 +448,7 @@ def test_upload_and_download( elif transfer_method == "standard": test_utils.run_cli( f"{upload_or_download} " - f"--data_type all " + f"--datatype all " f"--sub_names all " f"--ses_names all", setup_project.project_name, @@ -647,7 +647,7 @@ def check_kwargs(self, required_options, kwargs_): assert kwargs_ == {} def check_upload_download_args(self, args_, kwargs_, dry_run_is): - assert kwargs_["data_type"] == ["all"] + assert kwargs_["datatype"] == ["all"] assert kwargs_["sub_names"] == ["one"] assert kwargs_["ses_names"] == ["two"] assert kwargs_["dry_run"] is dry_run_is