Skip to content

Commit

Permalink
fmt +lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Oct 19, 2023
1 parent 7cc9ae2 commit b7d9e9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/integration/sharding_tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/usr/bin/env python3
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
from pytest_operator.plugin import OpsTest
from urllib.parse import quote_plus

from pytest_operator.plugin import OpsTest

from ..helpers import get_password

MONGOS_PORT = 27018
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/sharding_tests/test_sharding.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import pytest
from pymongo import MongoClient
from pytest_operator.plugin import OpsTest

from .helpers import generate_connection_string

SHARD_ONE_APP_NAME = "shard-one"
Expand Down Expand Up @@ -65,7 +66,7 @@ async def test_cluster_active(ops_test: OpsTest) -> None:


async def test_sharding(ops_test: OpsTest) -> None:
"""Tests writing data to mongos gets propogated to shards."""
"""Tests writing data to mongos gets propagated to shards."""
# write data to mongos router
mongos_connection_string = await generate_connection_string(
ops_test, app_name=CONFIG_SERVER_APP_NAME, mongos=True
Expand Down

0 comments on commit b7d9e9c

Please sign in to comment.