Skip to content

Commit

Permalink
Small style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps committed Jun 10, 2024
1 parent 3a43981 commit 0515588
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
asyncio_mode = auto
asyncio_mode = auto
2 changes: 1 addition & 1 deletion service.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def signal_handler(sig: int, _frame):
port=int(config.DB_PORT),
user=config.DB_LOGIN,
password=config.DB_PASSWORD,
db=config.DB_NAME
db=config.DB_NAME,
)
logger.info("Database connected.")

Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def opt(val):
user=user,
password=pw or "",
port=port,
db=name
db=name,
)


Expand All @@ -115,7 +115,7 @@ def opt(val):
user=user,
password=pw or "",
port=port,
db=name
db=name,
)
await db.connect()

Expand Down
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def __init__(
user: str = "root",
password: str = "",
db: str = "faf_test",
**kwargs
**kwargs,
):
super().__init__(host, port, user, password, db, **kwargs)
self._connection = None
Expand Down

0 comments on commit 0515588

Please sign in to comment.