summaryrefslogtreecommitdiffstats
path: root/tests.py
blob: 19c9cf03b129e65884049209e7f35487002fd84d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.utils import unittest
from django.test.client import Client

class SimpleTest(unittest.TestCase):
	def setUp(self):
		# Every test needs a client
		self.client = Client()
	
	def test_index_page(self):
		#Issue a get request
		response = self.client.get('/')
		
		self.assertEquals(response.status_code, 200)