Skip to content

Commit 97b86cc

Browse files
authored
Applied Black to code example
1 parent 275a340 commit 97b86cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pytest/namedtuple-parameterized-tests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Here's a pattern I figured out using Python's `namedtuple` to make the test case
88
from collections import namedtuple
99
import pytest
1010

11-
1211
ManageTableTest = namedtuple(
1312
"ManageTableTest",
1413
(
@@ -20,6 +19,7 @@ ManageTableTest = namedtuple(
2019
"expected_audit_rows",
2120
),
2221
)
22+
2323
@pytest.mark.asyncio
2424
@pytest.mark.parametrize(
2525
ManageTableTest._fields,
@@ -56,8 +56,8 @@ ManageTableTest = namedtuple(
5656
}
5757
],
5858
),
59-
)
60-
):
59+
),
60+
)
6161
def test_manage_table_permissions(
6262
description,
6363
setup_post_data,

0 commit comments

Comments
 (0)