Skip to content

Commit 96ac2d9

Browse files
committed
Fix tests
1 parent f956eda commit 96ac2d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release-automation/tests/test_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_invalid_major_version(self):
2626
result = self.runner.invoke(app, ["generate-stackbrew-content", "0"])
2727
assert result.exit_code != 0
2828

29-
@patch('stackbrew_generator.git_operations.GitClient')
29+
@patch('stackbrew_generator.cli.GitClient')
3030
def test_no_tags_found(self, mock_git_client_class):
3131
"""Test handling when no tags are found."""
3232
# Mock git client to return no tags
@@ -36,7 +36,7 @@ def test_no_tags_found(self, mock_git_client_class):
3636

3737
result = self.runner.invoke(app, ["generate-stackbrew-content", "99"])
3838
assert result.exit_code == 1
39-
assert "No tags found" in result.stderr
39+
assert "No versions found for major version 99" in result.stderr
4040

4141
@patch('stackbrew_generator.version_filter.VersionFilter.get_actual_major_redis_versions')
4242
def test_no_versions_found(self, mock_get_versions):

0 commit comments

Comments
 (0)