mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix test
This commit is contained in:
parent
ae086ba6d4
commit
d29e548c05
@ -155,7 +155,7 @@ class WebhookMessageTests(TestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
assert response.status_code == HTTPStatus.OK
|
assert response.status_code == HTTPStatus.OK
|
||||||
assert json.loads(response.content)['message'] == WebhookView.model_class.MESSAGE_OK
|
assert response.content == WebhookView.model_class.MESSAGE_OK
|
||||||
|
|
||||||
def test_bad_hmac(self):
|
def test_bad_hmac(self):
|
||||||
# delete token
|
# delete token
|
||||||
|
Loading…
Reference in New Issue
Block a user