Skip to content

Commit

Permalink
Update tests with a check for project_path
Browse files Browse the repository at this point in the history
  • Loading branch information
hackebrot committed May 19, 2021
1 parent c60d135 commit 113cf40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_cookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,13 @@ def test_bake_project(cookies):
assert result.exit_code == 0
assert result.exception is None
assert result.project_path.name == 'helloworld'
assert result.project_path.is_dir()
assert str(result) == '<Result {}>'.format(result.project_path)
assert result.project.basename == 'helloworld'
assert result.project.isdir()
assert str(result) == '<Result {}>'.format(result.project)
"""
)
Expand Down

0 comments on commit 113cf40

Please sign in to comment.