Skip to content
Snippets Groups Projects
Commit 1bad075f authored by David Hendriks's avatar David Hendriks
Browse files

fixed last two errors in the functions and grid

parent 10bf27fc
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ class test_parse_binary_c_version_info(unittest.TestCase): ...@@ -155,7 +155,7 @@ class test_parse_binary_c_version_info(unittest.TestCase):
self.assertIsNotNone(parsed_info["dt_limits"]) self.assertIsNotNone(parsed_info["dt_limits"])
self.assertIsNotNone(parsed_info["miscellaneous"]) self.assertIsNotNone(parsed_info["miscellaneous"])
if parsed_info['miscellaneous']['NUCSYN'] == 'on': if parsed_info['macros']['NUCSYN'] == 'on':
self.assertIsNotNone(parsed_info["isotopes"]) self.assertIsNotNone(parsed_info["isotopes"])
self.assertIsNotNone(parsed_info["nucleosynthesis_sources"]) self.assertIsNotNone(parsed_info["nucleosynthesis_sources"])
......
...@@ -233,7 +233,7 @@ class test_Population(unittest.TestCase): ...@@ -233,7 +233,7 @@ class test_Population(unittest.TestCase):
self.assertIsNotNone(binary_c_version_info["dt_limits"]) self.assertIsNotNone(binary_c_version_info["dt_limits"])
self.assertIsNotNone(binary_c_version_info["miscellaneous"]) self.assertIsNotNone(binary_c_version_info["miscellaneous"])
if binary_c_version_info['miscellaneous']['NUCSYN'] == 'on': if binary_c_version_info['macros']['NUCSYN'] == 'on':
self.assertIsNotNone(binary_c_version_info["isotopes"]) self.assertIsNotNone(binary_c_version_info["isotopes"])
self.assertIsNotNone(binary_c_version_info["nucleosynthesis_sources"]) self.assertIsNotNone(binary_c_version_info["nucleosynthesis_sources"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment