Skip to content

Commit

Permalink
fix linting (also got lost in rebasing)
Browse files Browse the repository at this point in the history
  • Loading branch information
reneradoi committed Jan 8, 2025
1 parent 9dd0f25 commit 4a3dfa2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/integration/ha/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

from literals import SNAP_NAME

from ..helpers import APP_NAME

logger = logging.getLogger(__name__)


Expand All @@ -28,7 +26,9 @@ async def existing_app(ops_test: OpsTest) -> str | None:
return list(etcd_apps.keys())[0] if etcd_apps else None


def start_continuous_writes(ops_test: OpsTest, app_name: str, endpoints: str, user: str, password: str) -> None:
def start_continuous_writes(
ops_test: OpsTest, app_name: str, endpoints: str, user: str, password: str
) -> None:
model = ops_test.model_full_name
# this is the unit where the `etcdctl` command is executed
# it does not mean that data is written to this cluster member
Expand All @@ -52,7 +52,9 @@ def stop_continuous_writes() -> None:
proc.communicate()


def count_writes(ops_test: OpsTest, app_name: str, endpoints: str, user: str, password: str) -> str:
def count_writes(
ops_test: OpsTest, app_name: str, endpoints: str, user: str, password: str
) -> str:
model = ops_test.model_full_name
unit = ops_test.model.applications[app_name].units[0].name
key = "cw_key"
Expand Down

0 comments on commit 4a3dfa2

Please sign in to comment.