Skip to content

Commit

Permalink
re-enabled mantid example test
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders-Markvardsen committed Oct 28, 2019
1 parent ba8463c commit e9b0357
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions example_scripts/example_runScripts_mantid.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ def main(argv):

# ADD WHICH PROBLEM SETS TO TEST AGAINST HERE
# Do this, in this example file, by selecting sub-folders in benchmark_probs_dir
problem_sets = ["CUTEst", "Muon", "Neutron", "NIST/average_difficulty", "NIST/high_difficulty", "NIST/low_difficulty",
"SAS_modelling/1D"]
problem_sets = ['Neutron', 'NIST/low_difficulty', 'SAS_modelling/ID']

for sub_dir in problem_sets:
# generate group label/name used for problem set
Expand Down
5 changes: 2 additions & 3 deletions example_scripts/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ def tearDownClass(self):
def test_examplescript(self):
example_runScripts.main(self.args)

## Commented out as pytest freezes when running the mantid script...
# def test_examplescript_mantid(self):
# example_runScripts_mantid.main(self.args)
def test_examplescript_mantid(self):
example_runScripts_mantid.main(self.args)

def test_examplescript_expert(self):
example_runScripts_expert.main(self.args)

0 comments on commit e9b0357

Please sign in to comment.