Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2023
1 parent 9c5f95e commit 58130af
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,7 @@ def test_cookie_auth_retry():

def test_createmeta_issuetypes_pagination(cl_normal, slug):
"""Test createmeta_issuetypes filter kwargs"""
issue_types_resp = cl_normal.createmeta_issuetypes(
slug,
startAt=50,
maxResults=100
)
issue_types_resp = cl_normal.createmeta_issuetypes(slug, startAt=50, maxResults=100)
assert issue_types_resp["startAt"] == 50
assert issue_types_resp["maxResults"] == 100

Expand All @@ -269,10 +265,7 @@ def test_createmeta_fieldtypes_pagination(cl_normal, slug):
assert issue_types["total"]
issue_type_id = issue_types["values"][-1]["id"]
field_types_resp = cl_normal.createmeta_fieldtypes(
projectIdOrKey=slug,
issueTypeId=issue_type_id,
startAt=50,
maxResults=100
projectIdOrKey=slug, issueTypeId=issue_type_id, startAt=50, maxResults=100
)
assert field_types_resp["startAt"] == 50
assert field_types_resp["maxResults"] == 100

0 comments on commit 58130af

Please sign in to comment.