Skip to content

Commit

Permalink
Fix error in test_lammps
Browse files Browse the repository at this point in the history
  • Loading branch information
raar1 committed Dec 12, 2018
1 parent 63b5cef commit 7d45592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ install:
script:
- python -m pytest tests/
- py.test --pep8 easyvvuq/
- py.test --pep8 tests
- py.test --pep8 tests
2 changes: 1 addition & 1 deletion tests/test_lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_lammps(tmpdir):
assert("seed" in my_campaign.vars)

random_sampler = uq.elements.sampling.RandomSampler(my_campaign)
my_campaign.add_runs(max_num=number_of_samples)
my_campaign.add_runs(random_sampler, max_num=number_of_samples)

assert(len(my_campaign.runs) == number_of_samples)

Expand Down

0 comments on commit 7d45592

Please sign in to comment.