Skip to content

Commit

Permalink
fix broken test for --include-easyblocks-from-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Apr 27, 2020
1 parent 7c1c288 commit 6afc01f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/framework/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,7 @@ def test_xxx_include_easyblocks_from_pr(self):
write_file(self.logfile, '')

args = [
'--from-pr=9979', # PR for CMake easyconfig
'--from-pr=10487', # PR for CMake easyconfig
'--include-easyblocks-from-pr=1936', # PR for EB_CMake easyblock
'--unittest-file=%s' % self.logfile,
'--github-user=%s' % GITHUB_TEST_ACCOUNT,
Expand All @@ -2760,8 +2760,8 @@ def test_xxx_include_easyblocks_from_pr(self):
logtxt = read_file(self.logfile)

# easyconfig from pr is found
ec_pattern = os.path.join(self.test_prefix, '.*', 'files_pr9979', 'c', 'CMake',
'CMake-3.16.4-GCCcore-9.2.0.eb')
ec_pattern = os.path.join(self.test_prefix, '.*', 'files_pr10487', 'c', 'CMake',
'CMake-3.16.4-GCCcore-9.3.0.eb')
ec_regex = re.compile(r"Parsing easyconfig file %s" % ec_pattern, re.M)
self.assertTrue(ec_regex.search(logtxt), "Pattern '%s' found in: %s" % (ec_regex.pattern, logtxt))

Expand Down

0 comments on commit 6afc01f

Please sign in to comment.