Skip to content

Commit eaee69d

Browse files
committed
fix tests
1 parent a239b90 commit eaee69d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

guardrails/cli/hub/install.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def pip_process(
5050
except Exception as e:
5151
logger.debug(
5252
f"json parse exception in decoding output from pip {action} {package}. Falling back to accumulating the byte stream", # noqa
53-
e,
5453
)
5554
accumulator = {}
5655
for key, value in parsed.items():

tests/unit_tests/cli/hub/test_install.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def parsebytes(self, *args):
138138
debug_calls = [
139139
call("running pip show pip"),
140140
call("decoding output from pip show pip"),
141+
call("json parse exception in decoding output from pip show pip. Falling back to accumulating the byte stream")
141142
]
142143
mock_logger_debug.assert_has_calls(debug_calls)
143144

0 commit comments

Comments
 (0)