Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Add a test for rendering the KPI page.
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsoulas committed Apr 14, 2015
1 parent 871520d commit 54b5b20
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions remo/dashboard/tests/test_views.py
Expand Up @@ -230,3 +230,12 @@ def test_list(self):
eq_(response.status_code, 200)
eq_(set(response.context['objects'].object_list),
set([item]))


class KPIDashboardTest(RemoTestCase):
"""Test dashboard KPIs."""

def test_base(self):
response = self.get(reverse('kpi'))
eq_(response.status_code, 200)
self.assertTemplateUsed(response, 'kpi.html')

0 comments on commit 54b5b20

Please sign in to comment.