Skip to content

Commit

Permalink
tests WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfire1900 committed Dec 3, 2024
1 parent fdc181e commit 93ce97d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_xontrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ def xsh():
xonsh_env: Env = XSH.env # type: ignore reportAssignmentType
xonsh_env['XONSH_SHOW_TRACEBACK'] = True
shell: Shell = XSH.shell # type: ignore reportAssignmentType
from xontrib.pygitstatus import entrypoint
entrypoint._load_xontrib_(XSH)
xontib_list = shell.default(
'xontrib list'
) # pytest --capture=no -k test_clean prints this: AttributeError: 'EntryPoint' object has no attribute 'dist'
) # pytest --capture=no -k test_clean prints this: pygitstatus loaded manual
_ = xontribs_loaded()
breakpoint()
yield XSH
Expand Down

0 comments on commit 93ce97d

Please sign in to comment.