From 247375f913c5e29886b07f18d8256f05bc20f28d Mon Sep 17 00:00:00 2001 From: Kyle Gottfried <6462596+Spitfire1900@users.noreply.github.com> Date: Tue, 31 Dec 2024 20:45:24 -0500 Subject: [PATCH] add comment about test_branch_bg_color_yellow and test_branch_bg_color_red being ran at the same time --- tests/test_xontrib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_xontrib.py b/tests/test_xontrib.py index 6f9e12c..a1ea070 100644 --- a/tests/test_xontrib.py +++ b/tests/test_xontrib.py @@ -93,6 +93,9 @@ def test_branch_bg_color_red(git_repo): def test_branch_bg_color_yellow(tmp_path): with cd(tmp_path): + # BUG: can not run at the same time as test_branch_bg_color_red + # without `--forked` being passed to pytest., + # Verified that it is not ran twice assert PromptFormatter()( '{pygitstatus.branch_bg_color}') == '{BACKGROUND_YELLOW}'