Skip to content

Commit

Permalink
Applied Black to code example
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Aug 31, 2024
1 parent 275a340 commit 97b86cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytest/namedtuple-parameterized-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Here's a pattern I figured out using Python's `namedtuple` to make the test case
from collections import namedtuple
import pytest


ManageTableTest = namedtuple(
"ManageTableTest",
(
Expand All @@ -20,6 +19,7 @@ ManageTableTest = namedtuple(
"expected_audit_rows",
),
)

@pytest.mark.asyncio
@pytest.mark.parametrize(
ManageTableTest._fields,
Expand Down Expand Up @@ -56,8 +56,8 @@ ManageTableTest = namedtuple(
}
],
),
)
):
),
)
def test_manage_table_permissions(
description,
setup_post_data,
Expand Down

0 comments on commit 97b86cc

Please sign in to comment.