From fdb57bc5d18231b725c497befde547a59888a247 Mon Sep 17 00:00:00 2001 From: Kyle Gottfried <6462596+Spitfire1900@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:27:25 -0500 Subject: [PATCH] PromptFormatter builds a XonshSession behind the scenes --- tests/test_xontrib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_xontrib.py b/tests/test_xontrib.py index c007302..9d7b711 100644 --- a/tests/test_xontrib.py +++ b/tests/test_xontrib.py @@ -57,8 +57,8 @@ def prompts(load_xontrib: abc.Callable[[str], None], # def test_prompt_run(xsh_with_aliases: XonshSession): # def test_clean(xsh, git_repo, load_xontrib, xonsh_session): -def test_untracked(git_repo, prompts): +def test_untracked(git_repo, ): with cd(git_repo): - assert 'pygitstatus.untracked' in prompts + # assert 'pygitstatus.untracked' in prompts Path('text.txt').touch() assert PromptFormatter()('{pygitstatus.untracked}') == '…1'