Skip to content

Commit 74088cb

Browse files
committed
default app
1 parent 194f5cc commit 74088cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

services/web/server/tests/unit/with_dbs/03/products/test_products_db.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ async def test_product_repository_get_product(
148148
assert await product_repository.get_product(product.name) == product
149149

150150
# tests definitions of default from utle_products and web-server.products are in sync
151-
mock_request = mocker.MagicMock()
152-
mock_request.app = app
153151
async with product_repository.engine.acquire() as conn:
154152
default_product = await utils_products.get_default_product_name(conn)
155-
assert default_product == _get_default_product_name(mock_request)
153+
assert default_product == _get_default_product_name(app)

0 commit comments

Comments
 (0)