File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -267,9 +267,8 @@ def test__build_api(self, mocker):
267
267
api_dir .mkdir .assert_called_once ()
268
268
api_dir .__truediv__ .assert_has_calls ([mocker .call (key ) for key in api_paths ])
269
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
- ])
270
+ endpoint_template .render .assert_has_calls (
271
+ [mocker .call (collection = collection_1 ), mocker .call (collection = collection_2 ),]
272
+ )
274
273
collection_1_path .write_text .assert_called_once_with (endpoint_renders [collection_1 ])
275
274
collection_2_path .write_text .assert_called_once_with (endpoint_renders [collection_2 ])
You can’t perform that action at this time.
0 commit comments