Skip to content

Commit 901c67c

Browse files
author
Ralf Grubenmann
committed
Fixes python 3.5 tests
1 parent a760d2f commit 901c67c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/core/models/test_shacl_schema.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ def test_dataset_shacl(tmpdir, runner, project, client):
6969
}
7070
)
7171

72-
r, _, t = validate_graph(rdf, shacl_path=force_dataset_path)
72+
r, _, t = validate_graph(rdf, shacl_path=str(force_dataset_path))
7373
assert r is True, t
7474

75-
r, _, t = validate_graph(rdf, shacl_path=force_datasetfile_path)
75+
r, _, t = validate_graph(rdf, shacl_path=str(force_datasetfile_path))
7676
assert r is True, t
7777

78-
r, _, t = validate_graph(rdf, shacl_path=force_datasettag_path)
78+
r, _, t = validate_graph(rdf, shacl_path=str(force_datasettag_path))
7979
assert r is True, t
8080

8181
r, _, t = validate_graph(rdf)
@@ -101,7 +101,7 @@ def test_project_shacl(project, client):
101101
'produceGeneralizedRdf': False
102102
}
103103
)
104-
r, _, t = validate_graph(rdf, shacl_path=path)
104+
r, _, t = validate_graph(rdf, shacl_path=str(path))
105105
assert r is True, t
106106

107107
r, _, t = validate_graph(rdf)

0 commit comments

Comments
 (0)