From a77b2747c27d9b61675545069cf01643b2385197 Mon Sep 17 00:00:00 2001 From: Raymond Wiker Date: Wed, 16 Oct 2024 15:29:09 +0200 Subject: [PATCH] Argh. Typo. --- tests/test_access/tst_access_drogon_affiliate_login.py | 6 +++--- tests/test_access/tst_access_drogon_manage_login.py | 6 +++--- tests/test_access/tst_access_drogon_read_login.py | 6 +++--- tests/test_access/tst_access_drogon_write_login.py | 6 +++--- tests/test_access/tst_access_no_access_login.py | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tests/test_access/tst_access_drogon_affiliate_login.py b/tests/test_access/tst_access_drogon_affiliate_login.py index 59476ccf..1afa34a7 100644 --- a/tests/test_access/tst_access_drogon_affiliate_login.py +++ b/tests/test_access/tst_access_drogon_affiliate_login.py @@ -203,9 +203,9 @@ def test_read_restricted_classification_data(explorer: Explorer): print("Hits on restricted:", hits) assert hits >= 1 -@pytest.skipif(not (sys.platform == "linux" and - sys.version_info[:2] == (3, 11)), - reason="Test only on single platform/version.") +@pytest.mark.skipif(not (sys.platform == "linux" and + sys.version_info[:2] == (3, 11)), + reason="Test only on single platform/version.") def test_aggregate_bulk(explorer: Explorer): """Test a bulk aggregation method""" print("Running test:", inspect.currentframe().f_code.co_name) diff --git a/tests/test_access/tst_access_drogon_manage_login.py b/tests/test_access/tst_access_drogon_manage_login.py index b43c66b4..ad7ae4ec 100644 --- a/tests/test_access/tst_access_drogon_manage_login.py +++ b/tests/test_access/tst_access_drogon_manage_login.py @@ -96,9 +96,9 @@ def test_read_restricted_classification_data(explorer: Explorer): assert hits > 0 -@pytest.skipif(not (sys.platform == "linux" and - sys.version_info[:2] == (3, 11)), - reason="Test only on single platform/version.") +@pytest.mark.skipif(not (sys.platform == "linux" and + sys.version_info[:2] == (3, 11)), + reason="Test only on single platform/version.") def test_aggregations_bulk(explorer: Explorer): """Test a bulk aggregation method""" print("Running test:", inspect.currentframe().f_code.co_name) diff --git a/tests/test_access/tst_access_drogon_read_login.py b/tests/test_access/tst_access_drogon_read_login.py index 75899991..e023041c 100644 --- a/tests/test_access/tst_access_drogon_read_login.py +++ b/tests/test_access/tst_access_drogon_read_login.py @@ -150,9 +150,9 @@ def test_aggregations_fast(explorer: Explorer): print("Length of returned aggregate object:", len(response.text)) -@pytest.skipif(not (sys.platform == "linux" and - sys.version_info[:2] == (3, 11)), - reason="Test only on single platform/version.") +@pytest.mark.skipif(not (sys.platform == "linux" and + sys.version_info[:2] == (3, 11)), + reason="Test only on single platform/version.") def test_aggregate_bulk(explorer: Explorer): """Test a bulk aggregation method""" print("Running test:", inspect.currentframe().f_code.co_name) diff --git a/tests/test_access/tst_access_drogon_write_login.py b/tests/test_access/tst_access_drogon_write_login.py index 3adb9ceb..7289facf 100644 --- a/tests/test_access/tst_access_drogon_write_login.py +++ b/tests/test_access/tst_access_drogon_write_login.py @@ -96,9 +96,9 @@ def test_read_restricted_classification_data(explorer: Explorer): assert hits > 0 -@pytest.skipif(not (sys.platform == "linux" and - sys.version_info[:2] == (3, 11)), - reason="Test only on single platform/version.") +@pytest.mark.skipif(not (sys.platform == "linux" and + sys.version_info[:2] == (3, 11)), + reason="Test only on single platform/version.") def test_aggregate_bulk(explorer: Explorer): """Test a bulk aggregation method""" print("Running test:", inspect.currentframe().f_code.co_name) diff --git a/tests/test_access/tst_access_no_access_login.py b/tests/test_access/tst_access_no_access_login.py index bf12e2d5..8d4b9f2b 100644 --- a/tests/test_access/tst_access_no_access_login.py +++ b/tests/test_access/tst_access_no_access_login.py @@ -157,9 +157,9 @@ def test_get_message_log_truncate(explorer: Explorer): print("Unexpected response: ", response.text) -@pytest.skipif(not (sys.platform == "linux" and - sys.version_info[:2] == (3, 11)), - reason="Test only on single platform/version.") +@pytest.mark.skipif(not (sys.platform == "linux" and + sys.version_info[:2] == (3, 11)), + reason="Test only on single platform/version.") def test_aggregate_bulk(explorer: Explorer): """Test a bulk aggregation method""" print("Running test:", inspect.currentframe().f_code.co_name)