@@ -234,7 +234,7 @@ def test__build_metadata(self, mocker):
234
234
project ._build_metadata ()
235
235
236
236
project .env .get_template .assert_has_calls (
237
- [mocker .call ("pyproject.toml" ), mocker .call ("README.md" ), mocker .call (".gitignore" ), ]
237
+ [mocker .call ("pyproject.toml" ), mocker .call ("README.md" ), mocker .call (".gitignore" )]
238
238
)
239
239
240
240
pyproject_template .render .assert_called_once_with (
@@ -388,7 +388,7 @@ def test__build_api(self, mocker):
388
388
errors_template .render .assert_called_once ()
389
389
api_errors .write_text .assert_called_once_with (errors_template .render ())
390
390
endpoint_template .render .assert_has_calls (
391
- [mocker .call (collection = collection_1 ), mocker .call (collection = collection_2 ), ]
391
+ [mocker .call (collection = collection_1 ), mocker .call (collection = collection_2 )]
392
392
)
393
393
collection_1_path .write_text .assert_called_once_with (endpoint_renders [collection_1 ])
394
394
collection_2_path .write_text .assert_called_once_with (endpoint_renders [collection_2 ])
@@ -404,7 +404,9 @@ def test__reformat(mocker):
404
404
405
405
project ._reformat ()
406
406
407
- sub_run .assert_has_calls ([
408
- mocker .call ("isort --recursive --apply" , cwd = project .project_dir , shell = True ),
409
- mocker .call ("black ." , cwd = project .project_dir , shell = True ),
410
- ])
407
+ sub_run .assert_has_calls (
408
+ [
409
+ mocker .call ("isort --recursive --apply" , cwd = project .project_dir , shell = True ),
410
+ mocker .call ("black ." , cwd = project .project_dir , shell = True ),
411
+ ]
412
+ )
0 commit comments