Skip to content

Commit 9fe66f7

Browse files
committed
tests
1 parent d8ec193 commit 9fe66f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/web/server/tests/unit/with_dbs/04/products/test_products_handlers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,15 @@ async def test_get_product(
128128
],
129129
)
130130
async def test_get_current_product_ui(
131+
all_products_names: list[ProductName],
131132
product_name: ProductName,
132133
logged_user: UserInfoDict,
133134
client: TestClient,
134135
user_role: UserRole,
135136
expected_status_code: int,
136137
):
137138
assert logged_user["role"] == user_role.value
139+
assert product_name in all_products_names
138140

139141
# give access to user to this product
140142
assert client.app

0 commit comments

Comments
 (0)