From a5fe2e405fc7d49aa3446e3f31d83247de3c3109 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Sun, 8 Oct 2023 23:49:24 +0300 Subject: [PATCH] Repromon pytest polishing --- repromon_app/tests/router/test_api_v1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repromon_app/tests/router/test_api_v1.py b/repromon_app/tests/router/test_api_v1.py index fc5a9e5..29c7436 100644 --- a/repromon_app/tests/router/test_api_v1.py +++ b/repromon_app/tests/router/test_api_v1.py @@ -122,10 +122,10 @@ def test_message_send_message( "/api/1/message/send_message", params={ "study": "Test Study Name", - "category": MessageCategoryId.FEEDBACK, - "level": MessageLevelId.INFO, + "category": int(MessageCategoryId.FEEDBACK), + "level": int(MessageLevelId.INFO), "device": 1, - "provider": DataProviderId.MRI, + "provider": int(DataProviderId.MRI), "description": "Test message from test_api_v1", "payload": "{'foobar': 111}"