From 7bc610ff0c9b3a45b990281c9abb8584ec6993e7 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Wed, 16 Oct 2024 10:03:27 +0330 Subject: [PATCH] fix: typo on hivemind event! --- tc_messageBroker/rabbit_mq/event/events_microservice.py | 2 +- tests/unit/test_event.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tc_messageBroker/rabbit_mq/event/events_microservice.py b/tc_messageBroker/rabbit_mq/event/events_microservice.py index 668a8fe..3a2806f 100644 --- a/tc_messageBroker/rabbit_mq/event/events_microservice.py +++ b/tc_messageBroker/rabbit_mq/event/events_microservice.py @@ -62,4 +62,4 @@ class TwitterAnalyzerEvent: class HivemindEvent: - QUESTION_RECIVED = "QUESTION_RECIVED" + QUESTION_RECEIVED = "QUESTION_RECEIVED" diff --git a/tests/unit/test_event.py b/tests/unit/test_event.py index bf14ceb..8849f6e 100644 --- a/tests/unit/test_event.py +++ b/tests/unit/test_event.py @@ -22,5 +22,5 @@ def test_enum_event_default(): assert Event.TWITTER_BOT.EXTRACT.LIKES == "EXTRACT_LIKES" assert Event.TWITTER_BOT.EXTRACT.TWEETS == "EXTRACT_TWEETS" assert Event.TWITTER_BOT.SEND_MESSAGE == "SEND_MESSAGE" - assert Event.HIVEMIND.QUESTION_RECIVED == "QUESTION_RECIVED" + assert Event.HIVEMIND.QUESTION_RECEIVED == "QUESTION_RECEIVED" # assert Event.DISCORD_ANALYZER.SAVE == "SAVE"