gva/gnuviechadmin/domains/tests/test_admin.py
Jan Dittberner 3d18392b67 Fix tests for Python 3
- drop Python 2 __future__ imports
- fix tests to handle new Django and Python 3 module names
- reformat changed files with black
2019-01-30 21:27:25 +01:00

8 lines
252 B
Python

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