We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b4257 commit 8a231b4Copy full SHA for 8a231b4
kazoo/tests/conftest.py
@@ -4,7 +4,7 @@
4
5
6
def pytest_exception_interact(node, call, report):
7
- if hasattr(node._testcase, "cluster"):
+ if hasattr(node, "_testcase") and hasattr(node._testcase, "cluster"):
8
cluster = node._testcase.cluster
9
log.error("Zookeeper cluster logs:")
10
for logs in cluster.get_logs():
0 commit comments