From 5bea21f93a6b97fd4115783b682de559b7071eb8 Mon Sep 17 00:00:00 2001 From: littleEast7 Date: Fri, 6 Dec 2024 18:18:49 +0800 Subject: [PATCH] skip check --- .../{other_option_test.py => other_option_test_disabled.py} | 4 ++-- tests/no_mock_tests/{read_test.py => read_test_disabled.py} | 6 +++--- .../no_mock_tests/{write_test.py => write_test_disabled.py} | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) rename tests/no_mock_tests/{other_option_test.py => other_option_test_disabled.py} (98%) rename tests/no_mock_tests/{read_test.py => read_test_disabled.py} (94%) rename tests/no_mock_tests/{write_test.py => write_test_disabled.py} (94%) diff --git a/tests/no_mock_tests/other_option_test.py b/tests/no_mock_tests/other_option_test_disabled.py similarity index 98% rename from tests/no_mock_tests/other_option_test.py rename to tests/no_mock_tests/other_option_test_disabled.py index dd8b088..458d61d 100644 --- a/tests/no_mock_tests/other_option_test.py +++ b/tests/no_mock_tests/other_option_test_disabled.py @@ -34,7 +34,7 @@ def verify_result(num): @pytest.mark.skip(reason="no-mock test") -def main(): +def other_option_test_disabled(): # # init if alluxio_fs.exists(home_path): @@ -140,4 +140,4 @@ def main(): # if __name__ == '__main__': for i in range(1): - main() + other_option_test_disabled() diff --git a/tests/no_mock_tests/read_test.py b/tests/no_mock_tests/read_test_disabled.py similarity index 94% rename from tests/no_mock_tests/read_test.py rename to tests/no_mock_tests/read_test_disabled.py index 6b2c9ec..4e9e483 100644 --- a/tests/no_mock_tests/read_test.py +++ b/tests/no_mock_tests/read_test_disabled.py @@ -30,7 +30,7 @@ @pytest.mark.skip(reason="no-mock test") -def read_test(file_name="test.csv"): +def read_test_disabled(file_name="test.csv"): file_path_ufs = home_path + "/" + file_name file_path_local = "../assets/" + file_name @@ -67,5 +67,5 @@ def read_test(file_name="test.csv"): # for file_name in file_names: # print(file_name) -# read_test(file_name) -read_test() +# read_test_disabled(file_name) +read_test_disabled() diff --git a/tests/no_mock_tests/write_test.py b/tests/no_mock_tests/write_test_disabled.py similarity index 94% rename from tests/no_mock_tests/write_test.py rename to tests/no_mock_tests/write_test_disabled.py index 85300a8..e0347b0 100644 --- a/tests/no_mock_tests/write_test.py +++ b/tests/no_mock_tests/write_test_disabled.py @@ -30,7 +30,7 @@ @pytest.mark.skip(reason="no-mock test") -def write_test(file_name="test.csv"): +def write_test_disabled(file_name="test.csv"): file_path_ufs = home_path + "/" + file_name file_path_local = "../assets/" + file_name @@ -62,5 +62,5 @@ def write_test(file_name="test.csv"): # for file_name in file_names: # print(file_name) -# write_test(file_name) -write_test() +# write_test_disabled(file_name) +write_test_disabled()