File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/pytest-simcore/src/pytest_simcore/helpers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1212from aiohttp import web
1313from aiohttp .test_utils import TestClient
1414from common_library .dict_tools import remap_keys
15+ from deepdiff import DeepDiff
1516from models_library .projects_nodes_io import NodeID
1617from models_library .services_resources import ServiceResourcesDictHelpers
1718from simcore_postgres_database .utils_projects_nodes import ProjectNodeCreate
@@ -211,9 +212,9 @@ async def assert_get_same_project(
211212 data , error = await assert_status (resp , expected )
212213
213214 # without our control
214- project .pop ("lastChangeDate" , None )
215- data .pop ("lastChangeDate" , None )
216215
217216 if not error :
218- assert data == {k : project [k ] for k in data }
217+ assert not DeepDiff (
218+ data , {k : project [k ] for k in data }, exclude_paths = "root['lastChangeDate']"
219+ )
219220 return data
You can’t perform that action at this time.
0 commit comments