Skip to content

Commit b5051df

Browse files
committed
print caplog text
1 parent 44530e7 commit b5051df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_varys.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ def tearDown(self):
309309

310310
def test_not_permitted_declare_fail(self):
311311
self.v.send(TEXT, "test-exchange-2", queue_suffix="test_queue")
312+
print(self._caplog.text)
312313
self.assertTrue(
313314
"pika.exceptions.ChannelClosedByBroker: (403, \"ACCESS_REFUSED - configure access to exchange 'test-exchange-2' in vhost '/' refused for user 'guest2'\")"
314315
in self._caplog.text

0 commit comments

Comments
 (0)