cli: show connection exception
For anonymous calls (whose use ensure_connection) is now shown also original exception if --debug is specified. Fixes: https://pagure.io/koji/issue/2592
This commit is contained in:
parent
cf1c2dad0b
commit
29a34f31a5
7 changed files with 49 additions and 44 deletions
|
|
@ -44,4 +44,4 @@ default 3 1 0 1 6 22%
|
|||
test 2 2 1 1 6 28%
|
||||
"""
|
||||
self.assertMultiLineEqual(actual, expected)
|
||||
ensure_connection_mock.assert_called_once_with(self.session)
|
||||
ensure_connection_mock.assert_called_once_with(self.session, self.options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue