From 1bad075f7f4a126cc8504f71fb8afd415f836d21 Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Tue, 12 Jan 2021 16:52:12 +0000
Subject: [PATCH] fixed last two errors in the functions and grid

---
 binarycpython/tests/test_functions.py | 2 +-
 binarycpython/tests/test_grid.py      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/binarycpython/tests/test_functions.py b/binarycpython/tests/test_functions.py
index 50dfd7966..4a0fe570e 100644
--- a/binarycpython/tests/test_functions.py
+++ b/binarycpython/tests/test_functions.py
@@ -155,7 +155,7 @@ class test_parse_binary_c_version_info(unittest.TestCase):
         self.assertIsNotNone(parsed_info["dt_limits"])
         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["nucleosynthesis_sources"])
 
diff --git a/binarycpython/tests/test_grid.py b/binarycpython/tests/test_grid.py
index 04f9a8d56..7aec47622 100644
--- a/binarycpython/tests/test_grid.py
+++ b/binarycpython/tests/test_grid.py
@@ -233,7 +233,7 @@ class test_Population(unittest.TestCase):
         self.assertIsNotNone(binary_c_version_info["dt_limits"])
         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["nucleosynthesis_sources"])
 
-- 
GitLab