]> git.openstreetmap.org Git - osqa.git/blob - forum/tests.py
Fixes OSQA 281, Start/Stop notificatins button does not store the notifications and...
[osqa.git] / forum / tests.py
1 import unittest
2 from django.test.client import Client
3
4 import forum.startup
5
6 from forum.models import *
7 from forum.actions import *
8
9 client = Client()
10
11 class SanityTest(unittest.TestCase):
12     def testIndex(self):
13         self.assertEquals(client.get('/').status_code, 200)
14
15 class FirstUsersTest(unittest.TestCase):
16     def setUp(self):
17         self.response = client.get('/')
18
19     def testResponse(self):
20         self.assertEquals(self.response.status_code, 200)
21         
22
23