Skip to content

Commit 763a251

Browse files
authored
Merge pull request #97 from minos-framework/restyled/issue-93-use-same-template-version-in-links
Restyle #93 - Do not let registry get overridden.
2 parents 3705bae + ae7ffb6 commit 763a251

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/test_cli/test_templating/test_processors.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,17 +137,13 @@ def test_answers_do_not_override_template_registry_and_version(self):
137137
"template_version": "wrong_version",
138138
}
139139
yaml.dump(
140-
answers_with_wrong_version,
141-
file,
140+
answers_with_wrong_version, file,
142141
)
143142

144143
microservice_destination = project_destination / "microservices" / "foo"
145144
microservice_destination.mkdir(parents=True)
146145

147-
processor = TemplateProcessor.from_fetcher(
148-
self.fetcher,
149-
microservice_destination,
150-
)
146+
processor = TemplateProcessor.from_fetcher(self.fetcher, microservice_destination,)
151147

152148
with patch("minos.cli.Form.ask", return_value=expected_answers) as mock:
153149
self.assertEqual(expected_answers, processor.answers)

0 commit comments

Comments
 (0)