Skip to content

Commit

Permalink
fix: add correction to package install
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspary committed May 18, 2023
1 parent cbc24e9 commit 13b0761
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/clients.py → email_hub_sdk/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import smtplib
from typing import Sequence

from src.enums import PortSMTP, ServerSMTP
from email_hub_sdk.enums import PortSMTP, ServerSMTP


class BaseEmailClient(ABC):
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/facades.py → email_hub_sdk/facades.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from src.adapters import EmailMIMEAdapter
from src.services import EmailService
from src.clients import BaseEmailClient, GmailClient, OutlookClient
from email_hub_sdk.adapters import EmailMIMEAdapter
from email_hub_sdk.services import EmailService
from email_hub_sdk.clients import BaseEmailClient, GmailClient, OutlookClient


def send_email_with_gmail(
Expand Down
4 changes: 2 additions & 2 deletions src/services.py → email_hub_sdk/services.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from src.adapters import EmailMIMEAdapter
from email_hub_sdk.adapters import EmailMIMEAdapter

from src.clients import BaseEmailClient
from email_hub_sdk.clients import BaseEmailClient


class EmailService:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
url="https://github.com/Kaspary/email-hub-sdk",
project_urls={"Bug Tracker": "https://github.com/Kaspary/email-hub-sdk/issues"},
license="UNLICENSED",
packages=["email-hub-sdk"],
packages=["email_hub_sdk"],
install_requires=[],
)
2 changes: 1 addition & 1 deletion tests/test_adapters.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from unittest import mock

import pytest
from src.adapters import EmailMIMEAdapter
from email_hub_sdk.adapters import EmailMIMEAdapter

SENDER_MOCK = "[email protected]"
SUBJECT_MOCK = "Email Title"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_clients.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from unittest import mock
from src.clients import BaseEmailClient, GmailClient, OutlookClient
from src.enums import PortSMTP, ServerSMTP
from email_hub_sdk.clients import BaseEmailClient, GmailClient, OutlookClient
from email_hub_sdk.enums import PortSMTP, ServerSMTP

SERVER_MOCK = "smtp.server.com"
PORT_MOCK = "8888"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_facades.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import mock
from src.facades import send_email, send_email_with_gmail, send_email_with_outlook
from email_hub_sdk.facades import send_email, send_email_with_gmail, send_email_with_outlook

ACCOUNT_MOCK = "[email protected]"
PASSWORD_MOCK = "password"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_services.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import mock
from src.services import EmailService
from email_hub_sdk.services import EmailService


class TestEmailService:
Expand Down

0 comments on commit 13b0761

Please sign in to comment.