diff --git a/tests/test_params_file.py b/tests/test_params_file.py index 459072c9e3..824e8fe345 100644 --- a/tests/test_params_file.py +++ b/tests/test_params_file.py @@ -45,7 +45,7 @@ def teardown_class(cls): def test_build_template(self): outfile = os.path.join(self.tmp_dir, "params-file.yml") - self.params_template_builder.write_template(outfile) + self.params_template_builder.write_params_file(outfile) assert os.path.exists(outfile) @@ -58,7 +58,7 @@ def test_build_template_invalid_schema(self, caplog): """Build a schema from a template""" outfile = os.path.join(self.tmp_dir, "params-file-invalid.yml") builder = ParamsFileBuilder(self.invalid_template_schema) - res = builder.write_template(outfile) + res = builder.write_params_file(outfile) assert res is False assert "Pipeline schema file is invalid" in caplog.text @@ -71,7 +71,7 @@ def test_build_template_file_exists(self, caplog): with open(outfile, "w") as fp: pass - res = self.params_template_builder.write_template(outfile) + res = self.params_template_builder.write_params_file(outfile) assert res is False assert f"File '{outfile}' exists!" in caplog.text