From 66ce71fcb0495cdda1d5966665b4da4f6ce3f947 Mon Sep 17 00:00:00 2001 From: Florian De Temmerman Date: Wed, 19 Jul 2023 10:18:39 +0200 Subject: [PATCH] update tests after renaming --- tests/test_params_file.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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