Skip to content

Commit

Permalink
Fixed failing windows test !minor
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Jan 26, 2025
1 parent 8ad5c82 commit 5a4e763
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_scm/test_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ def test_raises_error_on_command_failure(
git_instance = Git(scm_config)

# Act / Assert
with pytest.raises(BumpVersionError):
git_instance.add_path(path_to_add)
with inside_dir(repository_root):
with pytest.raises(BumpVersionError):
git_instance.add_path(path_to_add)


class TestRevisionInfo:
Expand Down

0 comments on commit 5a4e763

Please sign in to comment.