File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1313import software .SchemaExamples .schemaexamples as schemaexamples
1414import software .SchemaTerms .sdoterm as sdoterm
1515import software .util .buildtermpages as buildtermpages
16+ import software .util .schemaglobals as schemaglobals
1617
1718
1819class TestTermFileName (unittest .TestCase ):
@@ -29,19 +30,24 @@ def testUnicode(self):
2930 def testUpper (self ):
3031 self .assertEqual (
3132 buildtermpages .termFileName ("Thingamabob" ),
32- "software/site/terms/types/T/Thingamabob.html" ,
33- )
33+ os .path .join (
34+ schemaglobals .OUTPUTDIR ,
35+ "terms/types/T/Thingamabob.html" ))
3436
3537 def testLower (self ):
3638 self .assertEqual (
3739 buildtermpages .termFileName ("thingamabob" ),
38- "software/site/terms/properties/t/thingamabob.html" ,
40+ os .path .join (
41+ schemaglobals .OUTPUTDIR ,
42+ "terms/properties/t/thingamabob.html" )
3943 )
4044
4145 def testDigit (self ):
4246 self .assertEqual (
4347 buildtermpages .termFileName ("4DStatue" ),
44- "software/site/terms/types/4/4DStatue.html" ,
48+ os .path .join (
49+ schemaglobals .OUTPUTDIR ,
50+ "terms/types/4/4DStatue.html" )
4551 )
4652
4753
You can’t perform that action at this time.
0 commit comments