Skip to content

Commit

Permalink
fix: success message should be at info level
Browse files Browse the repository at this point in the history
  • Loading branch information
gvauter committed Aug 29, 2024
1 parent 0538046 commit fc84b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/trestlebot/entrypoints/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_init_ssp_github(
assert sorted(markdown_subdirs) == sorted(expected_subdirs)

assert any(
record.levelno == logging.WARNING
record.levelno == logging.INFO
and f"Initialized trestlebot project successfully in {tmp_init_dir}"
in record.message
for record in caplog.records
Expand Down Expand Up @@ -172,7 +172,7 @@ def test_init_compdef_github(
assert sorted(markdown_subdirs) == sorted(expected_subdirs)

assert any(
record.levelno == logging.WARNING
record.levelno == logging.INFO
and f"Initialized trestlebot project successfully in {tmp_init_dir}"
in record.message
for record in caplog.records
Expand Down

0 comments on commit fc84b25

Please sign in to comment.