Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
| 12345678910111213 |
- from django.test import TestCase
- from django.core.urlresolvers import reverse
-
- from oscar_testsupport.testcases import ClientTestCase
-
-
- class ReportsDashboardTests(ClientTestCase):
- is_staff = True
-
- def test_dashboard_is_accessible_to_staff(self):
- url = reverse('dashboard:reports-index')
- response = self.client.get(url)
- self.assertIsOk(response)
|