""" View Tests ========== Tests for methods in views.py. This file should stay fairly small. """ from django.test import Client, TestCase from django.core.urlresolvers import reverse client = Client() class TestViews(TestCase): def test_hello_world_exists(self): response = client.get(reverse('index')) self.assertEqual(response.status_code, 200)