##// END OF EJS Templates
Added TODOs for failing tests.
neko259 -
r154:5e3d2b35 default
parent child Browse files
Show More
@@ -121,6 +121,8 b' class BoardTests(TestCase):'
121 self.assertEqual(1, Post.objects.count(), msg='The validation passed '
121 self.assertEqual(1, Post.objects.count(), msg='The validation passed '
122 'where it should fail')
122 'where it should fail')
123
123
124 # TODO Some workaround and test for the "waiting" validation should
125 # exist here
124 response = client.post(THREAD_PAGE_ONE, {'text': TEST_TEXT,
126 response = client.post(THREAD_PAGE_ONE, {'text': TEST_TEXT,
125 'tags': valid_tags})
127 'tags': valid_tags})
126 self.assertEqual(HTTP_CODE_REDIRECT, response.status_code,
128 self.assertEqual(HTTP_CODE_REDIRECT, response.status_code,
@@ -133,6 +135,8 b' class BoardTests(TestCase):'
133 # Restore captcha setting
135 # Restore captcha setting
134 settings.ENABLE_CAPTCHA = captcha_enabled
136 settings.ENABLE_CAPTCHA = captcha_enabled
135
137
138 # TODO This test fails for now. We must check for 404.html instead of
139 # code 404
136 def test_404(self):
140 def test_404(self):
137 """Test receiving error 404 when opening a non-existent page"""
141 """Test receiving error 404 when opening a non-existent page"""
138
142
General Comments 0
You need to be logged in to leave comments. Login now