Skip to content

Commit

Permalink
style: black up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed Apr 25, 2024
1 parent 565a10a commit 682304e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions backend/df_designer/app/services/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
from pathlib import Path
from typing import List

import aiofiles

from app.core.config import settings
from app.core.logger_config import get_logger, setup_logging
from app.db.base import read_conf, write_conf
Expand Down
4 changes: 1 addition & 3 deletions backend/df_designer/app/tests/api/test_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ async def test_check_process_status(mocker):
process_id = 0
mocked_process_manager = mocker.MagicMock()
mocker.patch.object(mocked_process_manager, "processes", {process_id: mocker.MagicMock()})
mocker.patch.object(
mocked_process_manager, "get_status", mocker.AsyncMock(return_value="running")
)
mocker.patch.object(mocked_process_manager, "get_status", mocker.AsyncMock(return_value="running"))

response = await _check_process_status(process_id, mocked_process_manager)

Expand Down

0 comments on commit 682304e

Please sign in to comment.