euscan-ng/euscanwww/djeuscan/tests/test_charts.py
2012-05-06 20:03:49 +02:00

16 lines
395 B
Python

from euscanwww.djeuscan.tests import SystemTestCase
class ChartTests(SystemTestCase):
"""
Test main pages
"""
def test_statistics(self):
response = self.get("statistics")
self.assertEqual(response.status_code, 200)
def test_pie_versions(self):
response = self.get("chart", chart="pie-versions")
self.assertEqual(response.status_code, 200)