Skip to content

Commit

Permalink
more targeted print debugging... impressive i know...
Browse files Browse the repository at this point in the history
  • Loading branch information
ilaflott committed Oct 30, 2024
1 parent 507e2ec commit 56c7590
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fre/tests/test_fre_pp_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ def test_can_i_expand_user():
def test_cli_fre_pp_checkout_case():
''' fre pp checkout -e FOO -p BAR -t BAZ'''
result = runner.invoke(fre.fre, args=["pp", "checkout", "-e", "FOO", "-p", "BAR", "-t", "BAZ"], catch_exceptions=True)
print(result.stdout)
print(f'(test_fre_pp_cli) result.stdout is = {result.stdout}')
#print(result.stdout)
#click.echo(result.stderr)
print(result.exception)
#print(result.exception)
print(f'(test_fre_pp_cli) result.exception is = {result.exception}')
directory = os.path.expanduser("~/cylc-src")+'/FOO__BAR__BAZ'
print(f'(test_fre_pp_cli) directory is = {directory}')
assert all( [ result.exit_code == 0,
Path(os.path.expanduser("~")).exists(),
Path(os.path.expanduser("~/cylc-src")).exists(),
Expand Down

0 comments on commit 56c7590

Please sign in to comment.