Example #1
0
 def test_add_model_components(self):
     """
     Test that there are no errors when adding model components
     """
     create_abstract_model(prereq_modules=IMPORTED_PREREQ_MODULES,
                           module_to_test=MODULE_BEING_TESTED,
                           test_data_dir=TEST_DATA_DIRECTORY,
                           subproblem="",
                           stage="")
Example #2
0
 def test_add_model_components(self):
     """
     Test that there are no errors when adding model components
     :return:
     """
     create_abstract_model(prereq_modules=IMPORTED_PREREQ_MODULES,
                           module_to_test=MODULE_BEING_TESTED,
                           test_data_dir=os.path.join(
                               TEST_DATA_DIRECTORY, "subproblems"),
                           subproblem="202001",
                           stage="2")