Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/integrate_specific_odes' into in…
Browse files Browse the repository at this point in the history
…tegrate_specific_odes
  • Loading branch information
C.A.P. Linssen committed Dec 6, 2023
2 parents c75f514 + a537ad2 commit b648e05
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/pynestml_frontend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def test_codegeneration_autodoc(self):
path = str(os.path.realpath(os.path.join(os.path.dirname(__file__),
os.path.join(os.pardir, "models", "neurons", "iaf_psc_exp_neuron.nestml"))))
params = list()
params.append("nestml")
params.append("--input_path")
params.append(path)
params.append("--target_platform")
Expand All @@ -56,10 +55,8 @@ def test_codegeneration_autodoc(self):
params.append("--store_log")
params.append("--dev")

exit_code = None
with patch.object(sys, "argv", params):
exit_code = main()
self.assertTrue(exit_code == 0)
FrontendConfiguration.parse_config(params)
assert len(FrontendConfiguration.paths_to_compilation_units) == 1

def test_module_name_parsing_right_module_name_specified(self):
path = str(os.path.realpath(os.path.join(os.path.dirname(__file__), os.path.join(os.pardir, "models"))))
Expand Down

0 comments on commit b648e05

Please sign in to comment.