File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
services/web/server/tests/unit/with_dbs/02 Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1414import sqlalchemy as sa
1515from aiohttp .test_utils import TestClient
1616from aioresponses import aioresponses
17+ from common_library .dict_tools import assert_equal_ignoring_none
1718from deepdiff import DeepDiff
1819from faker import Faker
1920from 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
416418async 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" ]
You can’t perform that action at this time.
0 commit comments