add test for domains admin
This commit is contained in:
parent
842e207acc
commit
6a931ad21c
1 changed files with 8 additions and 0 deletions
8
gnuviechadmin/domains/tests/test_admin.py
Normal file
8
gnuviechadmin/domains/tests/test_admin.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
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)
|
Loading…
Reference in a new issue