Skip to content

Commit

Permalink
fix E501 in test_get_authority_by_id
Browse files Browse the repository at this point in the history
./aamva_standard/test_issuing_authority.py:23:80: E501 line too long (80 > 79 characters)
./aamva_standard/test_issuing_authority.py:24:80: E501 line too long (91 > 79 characters)
./aamva_standard/test_issuing_authority.py:25:80: E501 line too long (91 > 79 characters)
  • Loading branch information
benhovinga committed Dec 31, 2023
1 parent 3edb757 commit 064b09b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions aamva_standard/test_issuing_authority.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ def fake_authority_list(issuing_authorities_testdata):
issuing_authority.ISSUING_AUTHORITIES = saved_authorities


def test_get_authority_by_id(fake_authority_list, issuing_authorities_testdata):
assert issuing_authority.get_authority_by_id(100001) == issuing_authorities_testdata[0]
assert issuing_authority.get_authority_by_id(100002) == issuing_authorities_testdata[1]
def test_get_authority_by_id(
fake_authority_list, issuing_authorities_testdata):
assert (issuing_authority.get_authority_by_id(100001) ==
issuing_authorities_testdata[0])
assert (issuing_authority.get_authority_by_id(100002) ==
issuing_authorities_testdata[1])
with pytest.raises(KeyError, match="not found"):
issuing_authority.get_authority_by_id(1)

0 comments on commit 064b09b

Please sign in to comment.