def test_legacy_import():
    from emails.django_ import DjangoMessage as DjangoMessageLegacy
    assert DjangoMessageLegacy == DjangoMessage
Test legacy django_ module exists and works
dataset/ETHPy150Open lavr/python-emails/emails/testsuite/django_/test_django_integrations.py/test_legacy_import