diff --git a/dpaste/tests/test_snippet.py b/dpaste/tests/test_snippet.py index 56eb1a3..ec4db29 100644 --- a/dpaste/tests/test_snippet.py +++ b/dpaste/tests/test_snippet.py @@ -131,6 +131,16 @@ class SnippetTestCase(TestCase): self.assertEqual(response.status_code, 404) self.assertEqual(Snippet.objects.count(), 0) + # def test_new_snippet_`_whitespace(self): + # # POST data + # data = self.valid_form_data(content=' abc') + # response = self.client.post(self.new_url, data, follow=True) + # self.assertEqual(response.status_code, 200) + # self.assertEqual(Snippet.objects.count(), 1) + # print(response.content) + # self.assertContains(response, '    abc') + + # ------------------------------------------------------------------------- # Reply # -------------------------------------------------------------------------