diff --git a/dockerfile b/dockerfile index 42d5891..680e951 100644 --- a/dockerfile +++ b/dockerfile @@ -1,5 +1,5 @@ # Используем официальный образ Python -FROM python:3.11-slim +FROM python:3.12-slim # Устанавливаем git для клонирования репозитория RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* diff --git a/pyproject.toml b/pyproject.toml index ab39fb0..d6d73ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ readme = "README.md" requires-python = ">=3.12" dependencies = [ "python-dotenv>=1.0.0", - "git+https://git.lesha.spb.ru/alex/config_manager.git@master#egg=config_manager" + "config_manager @ git+https://git.lesha.spb.ru/alex/config_manager.git@master" ] [tool.setuptools.packages.find] diff --git a/tests/email_client/test_email_client.py b/tests/email_client/test_email_client.py index 3df50ea..e06f694 100644 --- a/tests/email_client/test_email_client.py +++ b/tests/email_client/test_email_client.py @@ -15,7 +15,7 @@ if __name__ == "__main__": imap_port=os.getenv('IMAP_PORT'), smtp_port=os.getenv('SMTP_PORT') ) - emails = email_client.get_emails(folder=self.config.email_dir, only_unseen=True, mark_as_read=True) + emails = email_client.get_emails(folder='spareparts', only_unseen=True, mark_as_read=True) for email in emails: print(email.subj)