notify-api-412 use black to enforce python coding style

This commit is contained in:
Kenneth Kehl
2023-08-25 09:12:23 -07:00
parent c6eb007386
commit 8c9721d8e2
201 changed files with 31660 additions and 28105 deletions

View File

@@ -4,10 +4,12 @@ from app.models.organization import Organization
from tests import organization_json
@pytest.mark.parametrize("purchase_order_number,expected_result", [
[None, None],
["PO1234", [None, None, None, "PO1234"]]
])
@pytest.mark.parametrize(
"purchase_order_number,expected_result",
[[None, None], ["PO1234", [None, None, None, "PO1234"]]],
)
def test_organization_billing_details(purchase_order_number, expected_result):
organization = Organization(organization_json(purchase_order_number=purchase_order_number))
organization = Organization(
organization_json(purchase_order_number=purchase_order_number)
)
assert organization.billing_details == expected_result