File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -149,11 +149,13 @@ def test_workflow_execution_add_graph_exists(
149149 assert len (modified ) == 1
150150 datetime = modified [0 ].split ()[- 2 ]
151151 assert DATETIME_PATTERN .match (datetime )
152- assert datetime != '"2025-02-05T13:28:07.246Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>'
153152 result_graph = Graph ().parse (data = result_graph_turtle )
153+ test = Graph ().parse (f"{ FIXTURE_DIR } /test_shapes_add.ttl" )
154+ assert result_graph .value (
155+ subject = URIRef (graph_setup .shapes_iri ), predicate = DCTERMS .modified
156+ ) != test .value (subject = URIRef (graph_setup .shapes_iri ), predicate = DCTERMS .modified )
154157 assert len (list (result_graph .objects (predicate = DCTERMS .created ))) == 0
155158 result_graph .remove ((URIRef (graph_setup .shapes_iri ), DCTERMS .modified , None ))
156- test = Graph ().parse (f"{ FIXTURE_DIR } /test_shapes_add.ttl" )
157159 test .remove ((URIRef (graph_setup .shapes_iri ), DCTERMS .modified , None ))
158160 assert isomorphic (result_graph , test )
159161
You can’t perform that action at this time.
0 commit comments