From d37f702bba9394ff860868bedc686fe5164df450 Mon Sep 17 00:00:00 2001 From: Orfeas Date: Fri, 23 Jun 2023 12:33:47 +0300 Subject: [PATCH] fixup! tests(twa): Rewrite TWA unit tests --- charms/tensorboards-web-app/tests/unit/test_operator.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/charms/tensorboards-web-app/tests/unit/test_operator.py b/charms/tensorboards-web-app/tests/unit/test_operator.py index e31a9cb..5e1a78c 100644 --- a/charms/tensorboards-web-app/tests/unit/test_operator.py +++ b/charms/tensorboards-web-app/tests/unit/test_operator.py @@ -16,11 +16,7 @@ @pytest.fixture(scope="function") def harness() -> Harness: """Create and return Harness for testing.""" - harness = Harness(TensorboardsWebApp) - - # Set up container networking simulation - harness.set_can_connect(APP_NAME, True) - return harness + return Harness(TensorboardsWebApp) class TestCharm: