From d0a783232625b4fc5122039e0ef6bb479bb22467 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 8 Sep 2023 11:25:51 +1000 Subject: [PATCH] fix(tests): clarify test_deny_nodes xfail.reason --- tests/test_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_config.py b/tests/test_config.py index c8922a9cb3..3c1646d860 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -156,7 +156,8 @@ def test_type_coercion(patch_rootdir): This test needs to deny nodes from being included in the InvocationsUnion by providing an app configuration as a test fixture. Pytest executes all test files before running - tests, so the app configuration is already initialized by the time this test runs. + tests, so the app configuration is already initialized by the time this test runs, and + the InvocationUnion is already created and the denied nodes are not omitted from it. This test passes when `test_config.py` is tested in isolation.