Skip to content

Commit

Permalink
Fix wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Jan 3, 2025
1 parent 9efad96 commit 41601fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/tests/services/test_contract_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
ContractMetadataService,
EnhancedContractMetadata,
)
from app.tests.db.db_async_conn import DbAsyncConn
from app.tests.mocks.contract_metadata_mocks import (

from ..datasources.db.db_async_conn import DbAsyncConn
from ..mocks.contract_metadata_mocks import (
blockscout_metadata_mock,
etherscan_metadata_mock,
sourcify_metadata_mock,
Expand Down
3 changes: 2 additions & 1 deletion app/tests/workers/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@

from app.datasources.db.database import database_session
from app.datasources.db.models import Contract
from app.tests.db.db_async_conn import DbAsyncConn
from app.workers.tasks import get_contract_metadata_task, redis_broker, test_task

from ..datasources.db.db_async_conn import DbAsyncConn


class TestTasks(unittest.TestCase):
worker: Worker
Expand Down

0 comments on commit 41601fe

Please sign in to comment.