Skip to content

Commit

Permalink
Fix remaining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pagmatt committed Jan 27, 2023
1 parent eff5f24 commit 223f3bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def config(tmpdir, ns_3_compiled):
return {
'script': 'hash-example',
'commit': Repo(ns_3_compiled).head.commit.hexsha,
'params': {'dict': None, 'time': False},
'params': {'dict': '/usr/share/dict/words', 'time': False},
'campaign_dir': str(tmpdir.join('test_campaign')),
}

Expand Down Expand Up @@ -144,8 +144,9 @@ def parameter_combination_range():

@pytest.fixture(scope='function')
def manager(ns_3_compiled, config):
return CampaignManager.new(ns_3_compiled, config['script'],
manager = CampaignManager.new(ns_3_compiled, config['script'],
config['campaign_dir'])
return manager


def get_and_compile_ns_3():
Expand Down

0 comments on commit 223f3bd

Please sign in to comment.