String issues in django\test\

Create issue
Issue #93 resolved
c7protal created an issue

There are a few errors and failures like the following that seem to be related:

ERROR: test_put (regressiontests.test_client_regress.models.RequestMethodStringDataTests) Request a view with string data via request method PUT

Traceback (most recent call last): File "C:\Users\Slimy\Documents\CSC302\django-3k\build\tests\regressiontests\test_client_regress\", line 716, in test_put response = self.client.put('/test_client_regress/request_methods/', data=data, content_type='application/json') File "c:\python31\lib\site-packages\django\test\", line 387, in put 'wsgi.input': FakePayload(post_data), File "c:\python31\lib\site-packages\django\test\", line 43, in init self.__content = StringIO(content) TypeError: 'str' does not support the buffer interface

This is assigned to subgroup 3.

Comments (1)

  1. Log in to comment