Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Dec 4, 2024
1 parent 44fbf75 commit deeb0f1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# pylint:disable=redefined-outer-name
import pytest
from aiohttp.test_utils import TestClient
from simcore_postgres_database.models.license_goods import license_goods
from simcore_postgres_database.models.resource_tracker_pricing_plans import (
resource_tracker_pricing_plans,
)
Expand Down Expand Up @@ -39,4 +40,5 @@ async def pricing_plan_id(
yield int(row[0])

async with transaction_context(get_asyncpg_engine(client.app)) as conn:
result = await conn.execute(resource_tracker_pricing_plans.delete())
await conn.execute(license_goods.delete())
await conn.execute(resource_tracker_pricing_plans.delete())

0 comments on commit deeb0f1

Please sign in to comment.