Skip to content

Commit 5a38c1d

Browse files
Add and test missing print functionality for usethis show sonarqube (#785)
1 parent 2c31b7f commit 5a38c1d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/usethis/_core/show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ def show_name() -> None:
1414
def show_sonarqube_config() -> None:
1515
with usethis_config.set(quiet=True):
1616
ensure_pyproject_toml()
17-
get_sonar_project_properties()
17+
plain_print(get_sonar_project_properties())

tests/usethis/_interface/test_show.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def test_runs(self, tmp_path: Path):
5353

5454
# Assert
5555
assert result.exit_code == 0, result.output
56+
assert result.output
5657

5758
def test_missing_key(self, tmp_path: Path):
5859
# Arrange

0 commit comments

Comments
 (0)