You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- from django.test import TestCase
- from django.core.urlresolvers import reverse
-
- from oscar.test 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)
|