Skip to content

Commit

Permalink
Merge pull request #4 from bedroge/tests_max_python_ver
Browse files Browse the repository at this point in the history
Add two tests for the max_py_* parameters
  • Loading branch information
casparvl authored Sep 16, 2024
2 parents 1a23bf3 + 53778ed commit efddeb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/easyblocks/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ def test_pythonpackage_pick_python_cmd(self):
self.assertTrue(pick_python_cmd(2) is not None)
self.assertTrue(pick_python_cmd(2, 6) is not None)
self.assertTrue(pick_python_cmd(123, 456) is None)
self.assertTrue(pick_python_cmd(2, 6, 123, 456) is not None)
self.assertTrue(pick_python_cmd(2, 6, 1, 1) is None)


def template_module_only_test(self, easyblock, name, version='1.3.2', extra_txt='', tmpdir=None):
Expand Down

0 comments on commit efddeb0

Please sign in to comment.