From a06bf9b4ad137b14d8da8d0f1ad4871d770086e5 Mon Sep 17 00:00:00 2001 From: Pietro Pasotti Date: Thu, 14 Nov 2024 17:12:03 +0100 Subject: [PATCH] fmt --- tests/resources/charm-like-path/tests/interface/conftest.py | 2 +- tests/unit/test_e2e.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/resources/charm-like-path/tests/interface/conftest.py b/tests/resources/charm-like-path/tests/interface/conftest.py index a2570a5..11e83a0 100644 --- a/tests/resources/charm-like-path/tests/interface/conftest.py +++ b/tests/resources/charm-like-path/tests/interface/conftest.py @@ -33,7 +33,7 @@ def interface_tester(interface_tester: CRILikePathTester): "tracing": {"interface": "tracing"}, "mysql-1": {"interface": "mysql"}, "mysql-2": {"interface": "mysql"}, - }, + }, "requires": {"tracing": {"interface": "tracing"}}, }, state_template=State(leader=True), diff --git a/tests/unit/test_e2e.py b/tests/unit/test_e2e.py index 8e831ab..1d4dbdf 100644 --- a/tests/unit/test_e2e.py +++ b/tests/unit/test_e2e.py @@ -529,9 +529,7 @@ def test_data_on_changed(): tester.run() -@pytest.mark.parametrize( - "endpoint", ("mysql-1", "mysql-2") -) +@pytest.mark.parametrize("endpoint", ("mysql-1", "mysql-2")) @pytest.mark.parametrize("evt_type", ("changed", "created", "joined", "departed", "broken")) def test_multiple_endpoints(endpoint, evt_type): tester = _setup_with_test_file( @@ -557,4 +555,4 @@ def test_data_on_changed(): ) ) - tester.run() \ No newline at end of file + tester.run()