Skip to content

Commit f293f33

Browse files
committed
style: fix spelling
1 parent 8816014 commit f293f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_sw360_attachments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def test_upload_release_attachment_failed(self) -> None:
428428
responses.add(
429429
method=responses.POST,
430430
url=self.MYURL + "resource/api/releases/1234/attachments", # noqa
431-
body='{"timestamp": "2020-12-10T07:22:06.1685Z", "status": "500", "error": "Internal Server Error", "message": "forbidded"}', # noqa
431+
body='{"timestamp": "2020-12-10T07:22:06.1685Z", "status": "500", "error": "Internal Server Error", "message": "forbidden"}', # noqa
432432
status=500,
433433
content_type="application/json",
434434
adding_headers={"Authorization": "Token " + self.MYTOKEN},
@@ -456,7 +456,7 @@ def test_upload_release_attachment_failed(self) -> None:
456456
if context.exception.details:
457457
self.assertEqual("500", context.exception.details["status"])
458458
self.assertEqual("Internal Server Error", context.exception.details["error"])
459-
self.assertEqual("forbidded", context.exception.details["message"])
459+
self.assertEqual("forbidden", context.exception.details["message"])
460460

461461
@responses.activate
462462
def test_upload_release_attachment_returns_202(self) -> None:

0 commit comments

Comments
 (0)