Skip to content

Commit

Permalink
PromptFormatter builds a XonshSession behind the scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfire1900 committed Dec 3, 2024
1 parent 07e6297 commit fdb57bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_xontrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit fdb57bc

Please sign in to comment.