diff --git a/boards/tests.py b/boards/tests.py --- a/boards/tests.py +++ b/boards/tests.py @@ -121,6 +121,8 @@ class BoardTests(TestCase): self.assertEqual(1, Post.objects.count(), msg='The validation passed ' 'where it should fail') + # TODO Some workaround and test for the "waiting" validation should + # exist here response = client.post(THREAD_PAGE_ONE, {'text': TEST_TEXT, 'tags': valid_tags}) self.assertEqual(HTTP_CODE_REDIRECT, response.status_code, @@ -133,6 +135,8 @@ class BoardTests(TestCase): # Restore captcha setting settings.ENABLE_CAPTCHA = captcha_enabled + # TODO This test fails for now. We must check for 404.html instead of + # code 404 def test_404(self): """Test receiving error 404 when opening a non-existent page"""