mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 20:01:05 -05:00
13 lines
383 B
Python
13 lines
383 B
Python
# Tests deprecated Djrill features
|
|
|
|
from django.test import TestCase
|
|
|
|
from djrill import NotSupportedByMandrillError
|
|
|
|
|
|
class DjrillLegacyExceptionTests(TestCase):
|
|
def test_NotSupportedByMandrillError(self):
|
|
"""Unsupported features used to just raise ValueError in 0.2.0"""
|
|
ex = NotSupportedByMandrillError("testing")
|
|
self.assertIsInstance(ex, ValueError)
|