Skip to content

Commit

Permalink
add comment about test_branch_bg_color_yellow and test_branch_bg_colo…
Browse files Browse the repository at this point in the history
…r_red being ran at the same time
  • Loading branch information
Spitfire1900 committed Jan 1, 2025
1 parent d4fd9af commit 247375f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_xontrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'

Expand Down

0 comments on commit 247375f

Please sign in to comment.