Skip to content

Commit 1600381

Browse files
committed
modified: tests/test_build.py
1 parent cd23320 commit 1600381

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

singularity/tests/test_build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
assert_equal
1212
)
1313

14-
from singularity.build import utils
14+
import singularity.build as build
1515

1616
from 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

0 commit comments

Comments
 (0)