diff --git a/automation/__init__.py b/discord_analyzer/automation/__init__.py similarity index 100% rename from automation/__init__.py rename to discord_analyzer/automation/__init__.py diff --git a/automation/automation_workflow.py b/discord_analyzer/automation/automation_workflow.py similarity index 98% rename from automation/automation_workflow.py rename to discord_analyzer/automation/automation_workflow.py index 1da733d..f4aed5b 100644 --- a/automation/automation_workflow.py +++ b/discord_analyzer/automation/automation_workflow.py @@ -1,8 +1,8 @@ import logging from typing import Any -from automation.utils.automation_base import AutomationBase -from automation.utils.model import AutomationDB +from discord_analyzer.automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.model import AutomationDB from pybars import Compiler from tc_messageBroker.rabbit_mq.event import Event from tc_messageBroker.rabbit_mq.queue import Queue diff --git a/automation/utils/__init__.py b/discord_analyzer/automation/utils/__init__.py similarity index 100% rename from automation/utils/__init__.py rename to discord_analyzer/automation/utils/__init__.py diff --git a/automation/utils/automation_base.py b/discord_analyzer/automation/utils/automation_base.py similarity index 100% rename from automation/utils/automation_base.py rename to discord_analyzer/automation/utils/automation_base.py diff --git a/automation/utils/interfaces.py b/discord_analyzer/automation/utils/interfaces.py similarity index 100% rename from automation/utils/interfaces.py rename to discord_analyzer/automation/utils/interfaces.py diff --git a/automation/utils/model.py b/discord_analyzer/automation/utils/model.py similarity index 100% rename from automation/utils/model.py rename to discord_analyzer/automation/utils/model.py diff --git a/discord_analyzer/publish_on_success.py b/discord_analyzer/publish_on_success.py index 3726599..7ee9a5a 100644 --- a/discord_analyzer/publish_on_success.py +++ b/discord_analyzer/publish_on_success.py @@ -1,6 +1,6 @@ import logging -from automation.automation_workflow import AutomationWorkflow +from discord_analyzer.automation.automation_workflow import AutomationWorkflow from tc_messageBroker.rabbit_mq.event import Event from tc_messageBroker.rabbit_mq.queue import Queue from discord_analyzer.utils.get_guild_utils import ( diff --git a/tests/integration/test_automation_base_create_manual_saga.py b/tests/integration/test_automation_base_create_manual_saga.py index 72f1c6b..8b7230d 100644 --- a/tests/integration/test_automation_base_create_manual_saga.py +++ b/tests/integration/test_automation_base_create_manual_saga.py @@ -1,6 +1,6 @@ import unittest -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase from .utils.analyzer_setup import launch_db_access diff --git a/tests/integration/test_automation_base_get_users_from_memberactivities_empty_database.py b/tests/integration/test_automation_base_get_users_from_memberactivities_empty_database.py index a48502b..7560d5a 100644 --- a/tests/integration/test_automation_base_get_users_from_memberactivities_empty_database.py +++ b/tests/integration/test_automation_base_get_users_from_memberactivities_empty_database.py @@ -1,6 +1,6 @@ from datetime import datetime, timedelta -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase from .utils.analyzer_setup import launch_db_access diff --git a/tests/integration/test_automation_base_get_users_from_memberactivities_filled_database.py b/tests/integration/test_automation_base_get_users_from_memberactivities_filled_database.py index 0096062..202d731 100644 --- a/tests/integration/test_automation_base_get_users_from_memberactivities_filled_database.py +++ b/tests/integration/test_automation_base_get_users_from_memberactivities_filled_database.py @@ -1,6 +1,6 @@ from datetime import datetime, timedelta -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase from .utils.analyzer_setup import launch_db_access diff --git a/tests/integration/test_automation_base_prepare_names_globalname.py b/tests/integration/test_automation_base_prepare_names_globalname.py index 8623d04..904d58a 100644 --- a/tests/integration/test_automation_base_prepare_names_globalname.py +++ b/tests/integration/test_automation_base_prepare_names_globalname.py @@ -1,6 +1,6 @@ from datetime import datetime, timedelta -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase from .utils.analyzer_setup import launch_db_access diff --git a/tests/integration/test_automation_base_prepare_names_ngu.py b/tests/integration/test_automation_base_prepare_names_ngu.py index 4166b37..69783a5 100644 --- a/tests/integration/test_automation_base_prepare_names_ngu.py +++ b/tests/integration/test_automation_base_prepare_names_ngu.py @@ -1,6 +1,6 @@ from datetime import datetime, timedelta -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase from .utils.analyzer_setup import launch_db_access diff --git a/tests/integration/test_automation_base_prepare_names_nickname.py b/tests/integration/test_automation_base_prepare_names_nickname.py index 6bdfbef..f12bfe3 100644 --- a/tests/integration/test_automation_base_prepare_names_nickname.py +++ b/tests/integration/test_automation_base_prepare_names_nickname.py @@ -1,6 +1,6 @@ from datetime import datetime, timedelta -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase from .utils.analyzer_setup import launch_db_access diff --git a/tests/integration/test_automation_base_prepare_names_usernames.py b/tests/integration/test_automation_base_prepare_names_usernames.py index 97c684d..53e2403 100644 --- a/tests/integration/test_automation_base_prepare_names_usernames.py +++ b/tests/integration/test_automation_base_prepare_names_usernames.py @@ -1,6 +1,6 @@ from datetime import datetime, timedelta -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase from .utils.analyzer_setup import launch_db_access diff --git a/tests/integration/test_automation_db_load_from_db.py b/tests/integration/test_automation_db_load_from_db.py index 89a19b7..c0a2886 100644 --- a/tests/integration/test_automation_db_load_from_db.py +++ b/tests/integration/test_automation_db_load_from_db.py @@ -2,7 +2,7 @@ import unittest from datetime import datetime, timedelta -from automation.utils.model import AutomationDB +from discord_analyzer.automation.utils.model import AutomationDB from dotenv import load_dotenv from discord_analyzer.utils.mongo import MongoSingleton diff --git a/tests/integration/test_automation_db_save_to_db.py b/tests/integration/test_automation_db_save_to_db.py index 7a62ccc..25d41e8 100644 --- a/tests/integration/test_automation_db_save_to_db.py +++ b/tests/integration/test_automation_db_save_to_db.py @@ -2,8 +2,8 @@ import unittest from datetime import datetime, timezone -from automation.utils.interfaces import Automation -from automation.utils.model import AutomationDB +from discord_analyzer.automation.utils.interfaces import Automation +from discord_analyzer.automation.utils.model import AutomationDB from dotenv import load_dotenv from discord_analyzer.utils.mongo import MongoSingleton diff --git a/tests/integration/test_automation_fire_messages_mongo_saga_message_ngu_strategy.py b/tests/integration/test_automation_fire_messages_mongo_saga_message_ngu_strategy.py index dbbb19d..8bec35c 100644 --- a/tests/integration/test_automation_fire_messages_mongo_saga_message_ngu_strategy.py +++ b/tests/integration/test_automation_fire_messages_mongo_saga_message_ngu_strategy.py @@ -1,7 +1,7 @@ from datetime import datetime, timedelta -from automation.automation_workflow import AutomationWorkflow -from automation.utils.interfaces import ( +from discord_analyzer.automation.automation_workflow import AutomationWorkflow +from discord_analyzer.automation.utils.interfaces import ( Automation, AutomationAction, AutomationReport, diff --git a/tests/integration/test_automation_fire_messages_mongo_saga_message_nickname_strategy.py b/tests/integration/test_automation_fire_messages_mongo_saga_message_nickname_strategy.py index e834f7c..0908295 100644 --- a/tests/integration/test_automation_fire_messages_mongo_saga_message_nickname_strategy.py +++ b/tests/integration/test_automation_fire_messages_mongo_saga_message_nickname_strategy.py @@ -1,7 +1,7 @@ from datetime import datetime, timedelta -from automation.automation_workflow import AutomationWorkflow -from automation.utils.interfaces import ( +from discord_analyzer.automation.automation_workflow import AutomationWorkflow +from discord_analyzer.automation.utils.interfaces import ( Automation, AutomationAction, AutomationReport, diff --git a/tests/integration/test_automation_fire_messages_mongo_saga_message_no_handlebar.py b/tests/integration/test_automation_fire_messages_mongo_saga_message_no_handlebar.py index 85dc0ac..65120fb 100644 --- a/tests/integration/test_automation_fire_messages_mongo_saga_message_no_handlebar.py +++ b/tests/integration/test_automation_fire_messages_mongo_saga_message_no_handlebar.py @@ -1,7 +1,7 @@ from datetime import datetime, timedelta -from automation.automation_workflow import AutomationWorkflow -from automation.utils.interfaces import ( +from discord_analyzer.automation.automation_workflow import AutomationWorkflow +from discord_analyzer.automation.utils.interfaces import ( Automation, AutomationAction, AutomationReport, diff --git a/tests/integration/test_automation_fire_messages_mongo_saga_message_username_strategy.py b/tests/integration/test_automation_fire_messages_mongo_saga_message_username_strategy.py index 8cf791d..e3712c2 100644 --- a/tests/integration/test_automation_fire_messages_mongo_saga_message_username_strategy.py +++ b/tests/integration/test_automation_fire_messages_mongo_saga_message_username_strategy.py @@ -1,7 +1,7 @@ from datetime import datetime, timedelta -from automation.automation_workflow import AutomationWorkflow -from automation.utils.interfaces import ( +from discord_analyzer.automation.automation_workflow import AutomationWorkflow +from discord_analyzer.automation.utils.interfaces import ( Automation, AutomationAction, AutomationReport, diff --git a/tests/integration/test_publish_on_success_recompute_false.py b/tests/integration/test_publish_on_success_recompute_false.py index ebc0979..c82e89e 100644 --- a/tests/integration/test_publish_on_success_recompute_false.py +++ b/tests/integration/test_publish_on_success_recompute_false.py @@ -1,7 +1,7 @@ import os from datetime import datetime, timedelta -from automation.utils.interfaces import ( +from discord_analyzer.automation.utils.interfaces import ( Automation, AutomationAction, AutomationReport, diff --git a/tests/integration/test_publish_on_success_recompute_true.py b/tests/integration/test_publish_on_success_recompute_true.py index 13b5d70..e0bb8cf 100644 --- a/tests/integration/test_publish_on_success_recompute_true.py +++ b/tests/integration/test_publish_on_success_recompute_true.py @@ -1,7 +1,7 @@ import os from datetime import datetime, timedelta -from automation.utils.interfaces import ( +from discord_analyzer.automation.utils.interfaces import ( Automation, AutomationAction, AutomationReport, diff --git a/tests/unit/test_automation_class.py b/tests/unit/test_automation_class.py index b7e02d4..9243332 100644 --- a/tests/unit/test_automation_class.py +++ b/tests/unit/test_automation_class.py @@ -1,7 +1,7 @@ import unittest from datetime import datetime -from automation.utils.interfaces import ( +from discord_analyzer.automation.utils.interfaces import ( Automation, AutomationAction, AutomationReport, diff --git a/tests/unit/test_automation_get_handler_type.py b/tests/unit/test_automation_get_handler_type.py index ccbd8bd..17eaba0 100644 --- a/tests/unit/test_automation_get_handler_type.py +++ b/tests/unit/test_automation_get_handler_type.py @@ -1,6 +1,6 @@ import unittest -from automation.automation_workflow import AutomationWorkflow +from discord_analyzer.automation.automation_workflow import AutomationWorkflow class TestGetHandlerType(unittest.TestCase): diff --git a/tests/unit/test_automation_trigger_action_report.py b/tests/unit/test_automation_trigger_action_report.py index 4f2ec9f..e8f808a 100644 --- a/tests/unit/test_automation_trigger_action_report.py +++ b/tests/unit/test_automation_trigger_action_report.py @@ -1,6 +1,6 @@ import unittest -from automation.utils.interfaces import ( +from discord_analyzer.automation.utils.interfaces import ( AutomationAction, AutomationReport, AutomationTrigger, diff --git a/tests/unit/test_compile_message.py b/tests/unit/test_compile_message.py index 57dae41..4601501 100644 --- a/tests/unit/test_compile_message.py +++ b/tests/unit/test_compile_message.py @@ -1,6 +1,6 @@ import unittest -from automation.automation_workflow import AutomationWorkflow +from discord_analyzer.automation.automation_workflow import AutomationWorkflow class CompileTemplateMessage(unittest.TestCase): diff --git a/tests/unit/test_engagement_notifier_subtract_users.py b/tests/unit/test_engagement_notifier_subtract_users.py index 8140903..d4376f9 100644 --- a/tests/unit/test_engagement_notifier_subtract_users.py +++ b/tests/unit/test_engagement_notifier_subtract_users.py @@ -1,4 +1,4 @@ -from automation.utils.automation_base import AutomationBase +from discord_analyzer.automation.utils.automation_base import AutomationBase def test_subtract_users_empty_data():