Skip to content

Commit f072c21

Browse files
committed
fix tests
1 parent 7980d57 commit f072c21

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

services/web/server/src/simcore_service_webserver/constants.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
# These are the apps built right now by static-webserver/client
2121
{
2222
"osparc",
23-
"tis",
24-
"tiplite",
2523
"s4l",
26-
"s4llite",
2724
"s4lacad",
28-
"s4lengine",
2925
"s4ldesktop",
3026
"s4ldesktopacad",
27+
"s4lengine",
28+
"s4llite",
29+
"tiplite",
30+
"tis",
3131
}
3232
)
3333
FRONTEND_APP_DEFAULT = "osparc"

services/web/server/tests/unit/isolated/products/test_products_model.py

+14-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
walk_model_examples_in_package,
2121
)
2222
from simcore_postgres_database.models.products import products as products_table
23-
from simcore_service_webserver.constants import FRONTEND_APPS_AVAILABLE
2423
from simcore_service_webserver.products.models import Product
2524

2625

@@ -126,7 +125,20 @@ def test_safe_load_empty_blanks_on_string_cols_from_db(
126125
}
127126

128127

129-
@pytest.mark.parametrize("expected_product_name", list(FRONTEND_APPS_AVAILABLE))
128+
@pytest.mark.parametrize(
129+
"expected_product_name",
130+
[
131+
"osparc",
132+
"s4l",
133+
"s4lacad",
134+
"s4ldesktop",
135+
"s4ldesktopacad",
136+
"s4lengine",
137+
"s4llite",
138+
"tiplite",
139+
"tis",
140+
],
141+
)
130142
def test_product_name_needs_front_end(
131143
faker: Faker,
132144
expected_product_name: ProductName,

0 commit comments

Comments
 (0)