def test_update(): if is_dakota_installed(): model = Sampling() model.initialize() model.update() assert_true(os.path.exists(dakota_files["input"])) assert_true(os.path.exists(dakota_files["output"])) assert_true(os.path.exists(dakota_files["data"]))
def test_finalize(): if is_dakota_installed(): model = Sampling() model.initialize() model.update() model.finalize()