From 60354431517a7c98a4296f5c07845445b4290a6c Mon Sep 17 00:00:00 2001 From: waleed mousa Date: Tue, 26 Dec 2017 04:41:06 -0500 Subject: [PATCH] Fixing bug in "test_environment_generator.py" The method "generate_environments" in environment_generator.py takes two arguments but 1 given in "test_environment_generator.py" Change-Id: I39abcf2340ce04f3d193d80c8af177027c512556 --- tripleo_heat_templates/tests/test_environment_generator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tripleo_heat_templates/tests/test_environment_generator.py b/tripleo_heat_templates/tests/test_environment_generator.py index 94d13c7197..058afe034c 100644 --- a/tripleo_heat_templates/tests/test_environment_generator.py +++ b/tripleo_heat_templates/tests/test_environment_generator.py @@ -480,11 +480,13 @@ parameter_defaults: fake_template2, fake_nested_output] mock_open.side_effect = mock_se if not self.exception: - environment_generator.generate_environments('ignored.yaml') + environment_generator.generate_environments('ignored.yaml', + 'environments') else: self.assertRaises(self.exception, environment_generator.generate_environments, - 'ignored.yaml') + 'ignored.yaml', + 'environments') return expected = environment_generator._FILE_HEADER + self.expected_output with open(fake_output_path) as f: