From d821ff3da860846a0d50027093de12c3862f6645 Mon Sep 17 00:00:00 2001 From: MiaAltieri Date: Wed, 11 Dec 2024 09:55:16 +0000 Subject: [PATCH] fmt + lint --- src/charm.py | 2 +- tests/unit/test_charm.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/charm.py b/src/charm.py index 3de879268..57bf1df73 100755 --- a/src/charm.py +++ b/src/charm.py @@ -13,7 +13,6 @@ from charms.grafana_agent.v0.cos_agent import COSAgentProvider from charms.mongodb.v0.config_server_interface import ClusterProvider -from charms.operator_libs_linux.v0 import sysctl from charms.mongodb.v0.mongo import MongoConfiguration from charms.mongodb.v0.mongodb_secrets import SecretCache, generate_secret_label from charms.mongodb.v0.set_status import MongoDBStatusHandler @@ -41,6 +40,7 @@ MonitorUser, OperatorUser, ) +from charms.operator_libs_linux.v0 import sysctl from charms.operator_libs_linux.v1.systemd import service_running from charms.operator_libs_linux.v2 import snap from data_platform_helpers.version_check import ( diff --git a/tests/unit/test_charm.py b/tests/unit/test_charm.py index 1754f37dd..0a7852233 100644 --- a/tests/unit/test_charm.py +++ b/tests/unit/test_charm.py @@ -18,7 +18,6 @@ from charm import MongodbOperatorCharm, NotReadyError, subprocess from config import Config - from .helpers import patch_network_get REPO_NAME = "deb-https://repo.mongodb.org/apt/ubuntu-focal/mongodb-org/5.0"