Skip to content

Commit da63986

Browse files
fix test
1 parent f6ba587 commit da63986

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/web/server/tests/unit/with_dbs/02/test_projects_crud_handlers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import sqlalchemy as sa
1515
from aiohttp.test_utils import TestClient
1616
from aioresponses import aioresponses
17+
from common_library.dict_tools import assert_equal_ignoring_none
1718
from deepdiff import DeepDiff
1819
from faker import Faker
1920
from models_library.api_schemas_directorv2.dynamic_services import (
@@ -413,6 +414,7 @@ async def test_list_projects_with_innaccessible_services(
413414
(UserRole.TESTER, status.HTTP_200_OK),
414415
],
415416
)
417+
@pytest.mark.testit
416418
async def test_get_project(
417419
client: TestClient,
418420
logged_user: UserInfoDict,
@@ -638,7 +640,7 @@ async def test_new_template_from_project(
638640
)
639641

640642
assert len(templates) == 1
641-
assert templates[0] == template_project
643+
assert_equal_ignoring_none(template_project, templates[0], user_project)
642644

643645
assert template_project["name"] == user_project["name"]
644646
assert template_project["description"] == user_project["description"]

0 commit comments

Comments
 (0)