Files
django-anymail/djrill/tests/test_legacy.py
2015-11-29 14:42:12 -08:00

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)