Skip to content

Commit 3430ac1

Browse files
Copilotnsaje
andcommitted
Fix lint formatting and bump MongoDB to version 6
Co-authored-by: nsaje <156006+nsaje@users.noreply.github.com>
1 parent cbf3490 commit 3430ac1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
python-version: ["3.8", "3.9", "3.10", "3.11"]
3131
services:
3232
mongo:
33-
image: mongo:3.6.23
33+
image: mongo:6.0.18
3434
options: >-
35-
--health-cmd "echo 'db.runCommand(\"ping\").ok' | mongo --quiet"
35+
--health-cmd "echo 'db.runCommand(\"ping\").ok' | mongosh --quiet"
3636
--health-interval 10s
3737
--health-timeout 5s
3838
--health-retries 5

tests/test_mongo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
@pytest.fixture()
1616
def _mongodb():
17-
connect(db="cleancat_test", host=os.environ.get("MONGODB_HOST", "localhost"))
17+
connect(
18+
db="cleancat_test", host=os.environ.get("MONGODB_HOST", "localhost")
19+
)
1820

1921

2022
@pytest.fixture()

0 commit comments

Comments
 (0)