Skip to content

Commit deeb0f1

Browse files
fix test
1 parent 44fbf75 commit deeb0f1

File tree

1 file changed

+3
-1
lines changed
  • services/web/server/tests/unit/with_dbs/04/licenses

1 file changed

+3
-1
lines changed

services/web/server/tests/unit/with_dbs/04/licenses/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# pylint:disable=redefined-outer-name
66
import pytest
77
from aiohttp.test_utils import TestClient
8+
from simcore_postgres_database.models.license_goods import license_goods
89
from simcore_postgres_database.models.resource_tracker_pricing_plans import (
910
resource_tracker_pricing_plans,
1011
)
@@ -39,4 +40,5 @@ async def pricing_plan_id(
3940
yield int(row[0])
4041

4142
async with transaction_context(get_asyncpg_engine(client.app)) as conn:
42-
result = await conn.execute(resource_tracker_pricing_plans.delete())
43+
await conn.execute(license_goods.delete())
44+
await conn.execute(resource_tracker_pricing_plans.delete())

0 commit comments

Comments
 (0)