gva/gnuviechadmin/domains/tests/test_admin.py

8 lines
265 B
Python

from django.test import TestCase
from django.core.urlresolvers import reverse
class TestMailDomainAdmin(TestCase):
def test_admin_for_maildomain(self):
admin_url = reverse('admin:domains_maildomain_changelist')
self.assertIsNotNone(admin_url)