From 69518ec49d678d80ea4887ab0434cf0bde5125dc Mon Sep 17 00:00:00 2001 From: Mateusz Kulewicz Date: Thu, 13 Jun 2024 14:57:29 +0200 Subject: [PATCH] lint --- tests/scenario/test_charm.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/scenario/test_charm.py b/tests/scenario/test_charm.py index 2ecb6940..b2130437 100644 --- a/tests/scenario/test_charm.py +++ b/tests/scenario/test_charm.py @@ -71,9 +71,7 @@ def _tempo_mock_with_initial_config(tmp_path): container.can_connect = lambda: True # prevent tls_ready from reporting True container.exists = lambda path: ( - False - if path in [Tempo.tls_cert_path, Tempo.tls_key_path, Tempo.tls_ca_path] - else True + False if path in [Tempo.tls_cert_path, Tempo.tls_key_path, Tempo.tls_ca_path] else True ) initial_config = Tempo(container).generate_config(["otlp_http"]) tempo_config.write_text(yaml.safe_dump(initial_config))