Skip to content

Commit

Permalink
Assert if command has successfuly ran
Browse files Browse the repository at this point in the history
  • Loading branch information
anapaulagomes committed Jul 27, 2023
1 parent d0fb168 commit 8ae53e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def git_repository(testdir):
assert testdir.run(*git_user).ret == 0
assert testdir.run(*git_email).ret == 0

testdir.run("git", "checkout", "-b", "main").ret
assert testdir.run("git", "checkout", "-b", "main").ret == 0
assert testdir.run("git", "commit", "--allow-empty", "-m_").ret == 0
yield gitroot

Expand Down

0 comments on commit 8ae53e0

Please sign in to comment.