Skip to content

Commit 830b711

Browse files
committed
Blackened test
1 parent ee54b8e commit 830b711

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test___init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,8 @@ def test__build_api(self, mocker):
267267
api_dir.mkdir.assert_called_once()
268268
api_dir.__truediv__.assert_has_calls([mocker.call(key) for key in api_paths])
269269
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-
])
270+
endpoint_template.render.assert_has_calls(
271+
[mocker.call(collection=collection_1), mocker.call(collection=collection_2),]
272+
)
274273
collection_1_path.write_text.assert_called_once_with(endpoint_renders[collection_1])
275274
collection_2_path.write_text.assert_called_once_with(endpoint_renders[collection_2])

0 commit comments

Comments
 (0)