Skip to content

Commit e2356a7

Browse files
committed
fix: unit.name
1 parent 63fd78d commit e2356a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_tls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ def test_tls_removed(juju: jubilant.Juju, kafka_apps):
362362
file_extensions = {
363363
f.split(".")[-1] for f in stdout.split() if f and f.startswith("client-")
364364
}
365-
logging.info(f"CLIENT TLS: {', '.join(file_extensions)} files found on {unit.name}")
365+
logging.info(f"CLIENT TLS: {', '.join(file_extensions)} files found on {unit}")
366366
assert not {"pem", "key", "p12", "jks"} & file_extensions
367367

368368
# peer TLS artifacts should remain intact.
369369
file_extensions = {f.split(".")[-1] for f in stdout.split() if f and f.startswith("peer-")}
370-
logging.info(f"PEER TLS: {', '.join(file_extensions)} files found on {unit.name}")
370+
logging.info(f"PEER TLS: {', '.join(file_extensions)} files found on {unit}")
371371
assert {"pem", "key", "p12", "jks"} & file_extensions
372372

373373

0 commit comments

Comments
 (0)