From 116749682fe4cf808e50efaacc05efa970b0a34c Mon Sep 17 00:00:00 2001 From: Diab Neiroukh Date: Fri, 27 Oct 2023 12:31:38 +0100 Subject: [PATCH 1/2] Correct Integration Test Documentation --- tests/test_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_methods.py b/tests/test_methods.py index 40b57916..5199c70b 100644 --- a/tests/test_methods.py +++ b/tests/test_methods.py @@ -26,7 +26,7 @@ def test_hello(unit_test_mocks: None): def test_int_hello(): """ - This test is marked implicitly as an integration test because the name contains "_init_" + This test is marked implicitly as an integration test because the name contains "_int_" https://docs.pytest.org/en/6.2.x/example/markers.html#automatically-adding-markers-based-on-test-names """ hello_test() From 65289807cd64c01f097b61939fe46087635c980d Mon Sep 17 00:00:00 2001 From: Diab Neiroukh Date: Thu, 9 Nov 2023 00:47:28 +0000 Subject: [PATCH 2/2] Reference `conftest.py` for `_int_` Test Marker --- tests/test_methods.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_methods.py b/tests/test_methods.py index 5199c70b..ae296628 100644 --- a/tests/test_methods.py +++ b/tests/test_methods.py @@ -26,7 +26,8 @@ def test_hello(unit_test_mocks: None): def test_int_hello(): """ - This test is marked implicitly as an integration test because the name contains "_int_" - https://docs.pytest.org/en/6.2.x/example/markers.html#automatically-adding-markers-based-on-test-names + This test is marked implicitly as an integration test because the name contains "_int_". See + tests/conftest.py and https://docs.pytest.org/en/6.2.x/example/markers.html#automatically-adding-markers-based-on-test-names + for more details. """ hello_test()