File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ import os
12import pytest
23
34from jsonasobj2 import JsonObj , loads
@@ -93,17 +94,18 @@ def test_merge_contexts_base():
9394@pytest .mark .parametrize (
9495 ("imp" , "result" ),
9596 [
96- ("linkml:types" , r "C:\temp\linkml_model\model\schema\ types" ),
97- ("ex_file" , "C: \\ temp \\ example\\ schema" ),
97+ ("linkml:types" , f "C:\\ temp\\ linkml_model\\ model\\ schema { os . sep } types" ),
98+ ("ex_file" , "/tmp/ example/ schema" ),
9899 ("_types" , "https://w3id.org/linkml/types" ),
99100 ],
100101)
101102def test_map_import (imp , result ):
102103 importmap = {
103104 "linkml:" : "C:\\ temp\\ linkml_model\\ model\\ schema" ,
104- "ex_file" : "C: \\ temp \\ example\\ schema" ,
105+ "ex_file" : "/tmp/ example/ schema" ,
105106 "_types" : "linkml:types" ,
106107 }
108+
107109 def namespaces ():
108110 ns = Namespaces ()
109111 ns ["linkml" ] = URIRef ("https://w3id.org/linkml/" )
You can’t perform that action at this time.
0 commit comments