We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4d49e commit fc5b434Copy full SHA for fc5b434
singularity/tests/test_analysis_classify.py
@@ -64,7 +64,7 @@ def test_estimate_os(self):
64
print("Testing singularity.analysis.classify.estimate_os")
65
from singularity.analysis.classify import estimate_os
66
estimated_os = estimate_os(self.container)
67
- self.assertEqual(estimated_os,'ubuntu:16.10')
+ self.assertTrue(estimated_os.startswith('ubuntu')
68
69
70
def test_get_tags(self):
@@ -73,7 +73,6 @@ def test_get_tags(self):
73
tags = get_tags(self.container)
74
75
print("Case 1: Testing that empty OS (with no additions) returns no relevant tags")
76
77
self.assertTrue(len(tags)==0)
78
79
0 commit comments