From b22a31db0dacc4236d7d21e78c3e17ee9f5de00f Mon Sep 17 00:00:00 2001 From: Dmitry Ratushnyy Date: Wed, 13 Sep 2023 08:05:45 +0000 Subject: [PATCH] Fix lint issues --- .../legacy_relations/test_charm_legacy_relations.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py b/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py index 58e4a4f75..2b99d93a2 100644 --- a/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py +++ b/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py @@ -63,6 +63,7 @@ async def test_build_deploy_charms(ops_test: OpsTest): apps=APP_NAMES, raise_on_error=False, status="active", timeout=2000 ) + @pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_relation_data(ops_test: OpsTest) -> None: """Test the relation data is set correctly for this legacy relation.""" @@ -92,6 +93,7 @@ async def test_relation_data(ops_test: OpsTest) -> None: assert version == "5.0" assert replset == DATABASE_APP_NAME + @pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_mongodb_auth_disabled(ops_test: OpsTest) -> None: """Test mongodb no longer uses auth after relating to a legacy relation.""" @@ -101,6 +103,7 @@ async def test_mongodb_auth_disabled(ops_test: OpsTest) -> None: connection ), "MongoDB requires authentication after legacy relation" + @pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_legacy_db_ops(ops_test: OpsTest) -> None: """Test graylog is able to do CRUD operations.""" @@ -128,6 +131,7 @@ async def test_legacy_db_ops(ops_test: OpsTest) -> None: user_info = g.user_get("focal") assert "users:tokenlist" not in user_info["permissions"], "unable to perform delete operations" + @pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_add_unit_joins_without_auth(ops_test: OpsTest): """Verify scaling mongodb with legacy relations supports no auth."""