Skip to content

Commit ee63271

Browse files
committed
take into account additional test easyconfigs in test_index_functions
1 parent a05f962 commit ee63271

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/framework/filetools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@ def test_index_functions(self):
17151715
# test with specified path with and without trailing '/'s
17161716
for path in [test_ecs, test_ecs + '/', test_ecs + '//']:
17171717
index = ft.create_index(path)
1718-
self.assertEqual(len(index), 79)
1718+
self.assertEqual(len(index), 81)
17191719

17201720
expected = [
17211721
os.path.join('b', 'bzip2', 'bzip2-1.0.6-GCC-4.9.2.eb'),
@@ -1764,7 +1764,7 @@ def test_index_functions(self):
17641764
regex = re.compile(r"^== found valid index for %s, so using it\.\.\.$" % self.test_prefix)
17651765
self.assertTrue(regex.match(stdout.strip()), "Pattern '%s' matches with: %s" % (regex.pattern, stdout))
17661766

1767-
self.assertEqual(len(index), 24)
1767+
self.assertEqual(len(index), 26)
17681768
for fn in expected:
17691769
self.assertTrue(fn in index, "%s should be found in %s" % (fn, sorted(index)))
17701770

@@ -1794,7 +1794,7 @@ def test_index_functions(self):
17941794
regex = re.compile(r"^== found valid index for %s, so using it\.\.\.$" % self.test_prefix)
17951795
self.assertTrue(regex.match(stdout.strip()), "Pattern '%s' matches with: %s" % (regex.pattern, stdout))
17961796

1797-
self.assertEqual(len(index), 24)
1797+
self.assertEqual(len(index), 26)
17981798
for fn in expected:
17991799
self.assertTrue(fn in index, "%s should be found in %s" % (fn, sorted(index)))
18001800

0 commit comments

Comments
 (0)