@@ -273,7 +273,7 @@ def test_djlint_check_passes(cookies, context_override):
273
273
274
274
275
275
@pytest .mark .parametrize (
276
- [ "use_docker" , "expected_test_script" ] ,
276
+ ( "use_docker" , "expected_test_script" ) ,
277
277
[
278
278
("n" , "pytest" ),
279
279
("y" , "docker compose -f docker-compose.local.yml run django pytest" ),
@@ -298,7 +298,7 @@ def test_travis_invokes_pytest(cookies, context, use_docker, expected_test_scrip
298
298
299
299
300
300
@pytest .mark .parametrize (
301
- [ "use_docker" , "expected_test_script" ] ,
301
+ ( "use_docker" , "expected_test_script" ) ,
302
302
[
303
303
("n" , "pytest" ),
304
304
("y" , "docker compose -f docker-compose.local.yml run django pytest" ),
@@ -317,15 +317,15 @@ def test_gitlab_invokes_precommit_and_pytest(cookies, context, use_docker, expec
317
317
try :
318
318
gitlab_config = yaml .safe_load (gitlab_yml )
319
319
assert gitlab_config ["precommit" ]["script" ] == [
320
- "pre-commit run --show-diff-on-failure --color=always --all-files"
320
+ "pre-commit run --show-diff-on-failure --color=always --all-files" ,
321
321
]
322
322
assert gitlab_config ["pytest" ]["script" ] == [expected_test_script ]
323
323
except yaml .YAMLError as e :
324
324
pytest .fail (e )
325
325
326
326
327
327
@pytest .mark .parametrize (
328
- [ "use_docker" , "expected_test_script" ] ,
328
+ ( "use_docker" , "expected_test_script" ) ,
329
329
[
330
330
("n" , "pytest" ),
331
331
("y" , "docker compose -f docker-compose.local.yml run django pytest" ),
@@ -380,7 +380,7 @@ def test_error_if_incompatible(cookies, context, invalid_context):
380
380
381
381
382
382
@pytest .mark .parametrize (
383
- [ "editor" , "pycharm_docs_exist" ] ,
383
+ ( "editor" , "pycharm_docs_exist" ) ,
384
384
[
385
385
("None" , False ),
386
386
("PyCharm" , True ),
@@ -403,7 +403,7 @@ def test_trim_domain_email(cookies, context):
403
403
"use_docker" : "y" ,
404
404
"domain_name" : " example.com " ,
405
405
"email" : " me@example.com " ,
406
- }
406
+ },
407
407
)
408
408
result = cookies .bake (extra_context = context )
409
409
0 commit comments