UPD: improved tests.
Some checks failed
buildbot/django-test-test-python2 Build done.
buildbot/django-test-test-python3 Build done.

This commit is contained in:
2019-10-24 14:12:23 +02:00
parent 4fc03f0c91
commit d584de697a
4 changed files with 86 additions and 15 deletions

View File

@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.test import SimpleTestCase
from django.urls import reverse
class UrlsTestCase(SimpleTestCase):
def test_root_reverse(self):
response = self.client.get(reverse('root'))
self.assertEqual(response.status_code, 200)