We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee54b8e commit 830b711Copy full SHA for 830b711
1 file changed
tests/test___init__.py
@@ -267,9 +267,8 @@ def test__build_api(self, mocker):
267
api_dir.mkdir.assert_called_once()
268
api_dir.__truediv__.assert_has_calls([mocker.call(key) for key in api_paths])
269
api_init.write_text.assert_called_once_with('""" Contains all methods for accessing the API """')
270
- endpoint_template.render.assert_has_calls([
271
- mocker.call(collection=collection_1),
272
- mocker.call(collection=collection_2),
273
- ])
+ endpoint_template.render.assert_has_calls(
+ [mocker.call(collection=collection_1), mocker.call(collection=collection_2),]
+ )
274
collection_1_path.write_text.assert_called_once_with(endpoint_renders[collection_1])
275
collection_2_path.write_text.assert_called_once_with(endpoint_renders[collection_2])
0 commit comments