Skip to content

Commit 3dc5f16

Browse files
committed
Fixed a failing test
1 parent e0b206e commit 3dc5f16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

epictrack-api/tests/unit/apis/test_work_issues.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_create_and_fetch_work_issues(client):
7979
assert retrieved_issue_json["title"] == work_issue.title
8080

8181

82-
def test_create_and_update_work_issues(client,jwt):
82+
def test_create_and_update_work_issues(client, jwt):
8383
"""Test create and update WorkIssues with updates."""
8484
work = factory_work_model()
8585
issue_data = TestWorkIssuesInfo.issue1.value
@@ -96,7 +96,7 @@ def test_create_and_update_work_issues(client,jwt):
9696
staff_user = TestJwtClaims.staff_admin_role
9797
headers = factory_auth_header(jwt=jwt, claims=staff_user)
9898
url_update = urljoin(API_BASE_URL, f'work/{work.id}/issues/{work_issue.id}/update/{updates_id}')
99-
result_update = client.patch(url_update,headers= headers, json=updated_update_data)
99+
result_update = client.patch(url_update, headers=headers, json=updated_update_data)
100100
assert result_update.status_code == HTTPStatus.OK
101101

102102
url = urljoin(API_BASE_URL, f'work/{work.id}/issues')

0 commit comments

Comments
 (0)