Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Jun 14, 2018
1 parent bf8ed8e commit 70773ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def run(self):
test_analysis.run()

def test_AnalysisRunner_constructor(self):
runner = core.AnalysisRunner()
runner = core.AnalysisRunner(None, None, None)
self.assertEqual(runner.analyses, ())

def test_AnalysisRunner_without_saving(self):
Expand All @@ -73,7 +73,7 @@ def run(self):
class TestSimResultsAnalysis(core.SimulationResultsAnalysis):
def run(self):
pass
runner = core.AnalysisRunner(analyses=[
runner = core.AnalysisRunner(None, None, None, analyses=[
TestKbAnalysis, TestModelAnalysis, TestSimResultsAnalysis,
])
runner.run()
Expand All @@ -93,7 +93,7 @@ def run(self):
class TestSimResultsAnalysis(core.SimulationResultsAnalysis):
def run(self):
pass
runner = core.AnalysisRunner(analyses=[
runner = core.AnalysisRunner(None, None, None, analyses=[
TestKbAnalysis, TestModelAnalysis, TestSimResultsAnalysis,
], out_path=self.dir)
runner.run()
Expand All @@ -105,6 +105,6 @@ def test_AnalysisRunner_error(self):
class TestAnalysis(core.Analysis):
def run(self):
pass
runner = core.AnalysisRunner(analyses=[TestAnalysis], out_path=self.dir)
runner = core.AnalysisRunner(None, None, None, analyses=[TestAnalysis], out_path=self.dir)
with self.assertRaisesRegexp(ValueError, 'Unsupported analysis of '):
runner.run()

0 comments on commit 70773ad

Please sign in to comment.