Skip to content

Commit

Permalink
Added a unit-test for single-hash strings
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato authored and ens-bwalts committed Nov 5, 2020
1 parent 66b68e9 commit b9ec9c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrappers/python3/eHive/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ class ParamContainerTestSubstitutions(unittest.TestCase):
TestParamEntry('alpha', 2, 2),
TestParamEntry('beta', 5, 5),
TestParamEntry('delta', '#expr( #alpha#*#beta# )expr#', 10),
TestParamEntry('epsilon', 'alpha#beta', 'alpha#beta'), # Single hash -> no substitution

TestParamEntry('gamma', [10, 20, 33, 15], [10, 20, 33, 15]),
TestParamEntry('gamma_prime', '#expr( #gamma# )expr#', [10, 20, 33, 15]),
Expand Down

0 comments on commit b9ec9c7

Please sign in to comment.