Skip to content

Commit fc5b434

Browse files
committed
modified: tests/test_analysis_classify.py
1 parent 9b4d49e commit fc5b434

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

singularity/tests/test_analysis_classify.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_estimate_os(self):
6464
print("Testing singularity.analysis.classify.estimate_os")
6565
from singularity.analysis.classify import estimate_os
6666
estimated_os = estimate_os(self.container)
67-
self.assertEqual(estimated_os,'ubuntu:16.10')
67+
self.assertTrue(estimated_os.startswith('ubuntu')
6868

6969

7070
def test_get_tags(self):
@@ -73,7 +73,6 @@ def test_get_tags(self):
7373
tags = get_tags(self.container)
7474

7575
print("Case 1: Testing that empty OS (with no additions) returns no relevant tags")
76-
self.assertEqual(estimated_os,'ubuntu:16.10')
7776
self.assertTrue(len(tags)==0)
7877

7978

0 commit comments

Comments
 (0)