We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b3c16f6 + 2b4e043 commit 4702af0Copy full SHA for 4702af0
test/framework/module_generator.py
@@ -589,10 +589,9 @@ def test_modulerc(self):
589
590
# loading of module with symbolic version works
591
self.modtool.load(['test/1.2.3'])
592
- # test/1.2.3.4.5 is actually loaded (rather than test/1.2.3)
+ # test/1.2.3.4.5 is actually loaded
593
res = self.modtool.list()
594
- self.assertEqual(len(res), 1)
595
- self.assertEqual(res[0]['mod_name'], 'test/1.2.3.4.5')
+ self.assertTrue(any(x['mod_name'] == 'test/1.2.3.4.5' for x in res))
596
597
# if same symbolic version is added again, nothing changes
598
self.modgen.modulerc(mod_ver_spec, filepath=modulerc_path)
0 commit comments