Skip to content

Commit

Permalink
ERROR not INFO
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Oct 9, 2020
1 parent 1e7b61f commit 97d1910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def test_missing_contrib_extra(caplog):
else:
import_module("pyhf.cli")

with caplog.at_level(logging.INFO):
with caplog.at_level(logging.ERROR):
assert (
"import of requests halted; None in sys.modules"
+ "\nInstallation of the contrib extra is required to use pyhf.contrib.utils.download"
Expand Down Expand Up @@ -651,7 +651,7 @@ def test_missing_contrib_download(caplog):
)
assert result.exit_code == 0

with caplog.at_level(logging.INFO):
with caplog.at_level(logging.ERROR):
assert (
"module 'pyhf.contrib.utils' has no attribute 'download'"
+ "\nInstallation of the contrib extra is required to use the contrib CLI API"
Expand Down

0 comments on commit 97d1910

Please sign in to comment.