ff9a3ff49f
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
17 lines
391 B
Python
17 lines
391 B
Python
"""Tests for app/tasks/upload_to_email.py module."""
|
|
|
|
from unittest.mock import MagicMock, patch
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.unit
|
|
class TestUploadToEmail:
|
|
"""Tests for upload_to_email task."""
|
|
|
|
def test_module_imports(self):
|
|
"""Test that the module can be imported."""
|
|
from app.tasks.upload_to_email import upload_to_email
|
|
|
|
assert callable(upload_to_email)
|