Skip to content

Commit cda02dd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e781b7d commit cda02dd

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/asphalt/mongodb/_component.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
from collections.abc import AsyncGenerator, Mapping
55
from typing import Any
66

7-
from motor.motor_asyncio import AsyncIOMotorClient
8-
97
from asphalt.core import Component, Context, context_teardown
8+
from motor.motor_asyncio import AsyncIOMotorClient
109

1110
logger = logging.getLogger("asphalt.mongodb")
1211

tests/test_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import os
33

44
import pytest
5+
from asphalt.core import Context, require_resource
56
from motor.motor_asyncio import AsyncIOMotorClient
67
from pytest import LogCaptureFixture
78

8-
from asphalt.core import Context, require_resource
99
from asphalt.mongodb import MongoDBComponent
1010

1111
MONGODB_HOSTNAME = os.getenv("MONGODB_HOST", "localhost")

0 commit comments

Comments
 (0)