File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111 assert_equal
1212)
1313
14- from singularity .build import utils
14+ import singularity .build as build
1515
1616from singularity .utils import (
1717 get_installdir ,
@@ -42,12 +42,12 @@ def test_read_template(self):
4242
4343 # Check content of packages
4444 print ("Case 1: Test reading of build template" )
45- template = utils .get_build_template ('singularity-build-latest.sh' )
45+ template = build . utils .get_build_template ('singularity-build-latest.sh' )
4646 self .assertTrue (isinstance (template ,str ))
4747 self .assertTrue (len (template )> 15 )
4848
4949 print ("Case 2: Non existing script returns None" )
50- template = utils .get_build_template ('singularity-build-pizza.sh' )
50+ template = build . utils .get_build_template ('singularity-build-pizza.sh' )
5151 self .assertEqual (template ,None )
5252
5353
You can’t perform that action at this time.
0 commit comments