Skip to content

Commit 8d7143e

Browse files
committed
testing using shub for function
1 parent 39fb952 commit 8d7143e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

singularity/tests/test_analysis_classify.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ class TestAnalysisClassify(unittest.TestCase):
5656
def setUp(self):
5757
self.tmpdir = tempfile.mkdtemp()
5858
self.cli = Singularity()
59-
self.container = self.cli.pull('docker://ubuntu:16.04',
60-
pull_folder=self.tmpdir)
59+
self.container = self.cli.pull('shub://vsoch/singularity-images',
60+
pull_folder=self.tmpdir)
6161
print(self.container)
62-
63-
self.comparator = self.cli.pull('docker://ubuntu:12.04',
62+
self.comparator = self.cli.pull('shub://vsoch/hello-world',
6463
pull_folder=self.tmpdir)
6564
print(self.comparator)
6665

singularity/tests/test_hub.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def tearDown(self):
5858
def test_get_collection(self):
5959
print('Testing client.get_collection command')
6060
result = self.cli.get_collection(self.collection)
61-
for key in ['add_date', 'name', 'enabled', 'modify_date']:
61+
for key in ['add_date', 'name', 'metadata', 'modify_date']:
62+
print(key)
6263
self.assertTrue(key in result)
6364

6465
def test_get_container(self):

0 commit comments

Comments
 (0)