+ self.assertEqual(self.response.content, "Ala ma kota\n")
+#
+#
+# @temprepo('simple')
+# def test_document_text_update(self):
+# self.assertTrue(self.client.login(username='admin', password='admin'))
+# TEXT = u"Ala ma kota i psa"
+#
+# self.response = self.client.put( \
+# reverse("doctext_view", args=['testfile']), {'contents': TEXT })
+# self.assertEqual(self.response.status_code, 200)
+#
+# self.response = self.client.get( \
+# reverse("doctext_view", args=['testfile']) )
+# self.assertEqual(self.response.status_code, 200)
+# self.assertEqual(self.response.content, TEXT)
+
+ def assert_json_response(self, must_have={}, exclude=[], code=200):
+ self.assertEqual(self.response.status_code, code)