Skip to content

Instantly share code, notes, and snippets.

View jlafon's full-sized avatar

Jharrod LaFon jlafon

View GitHub Profile
======================================================================
ERROR: test_invalid_data (validation.tests.PostNestResouceValidationTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jharrodlafon/sources/django-tastypie/tests/validation/tests.py", line 56, in test_invalid_data
resp = self.client.post('/api/v1/notes/', data=data, content_type='application/json')
File "/Users/jharrodlafon/.virtualenv/tastypie-testing/lib/python2.7/site-packages/django/test/client.py", line 463, in post
response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
File "/Users/jharrodlafon/.virtualenv/tastypie-testing/lib/python2.7/site-packages/django/test/client.py", line 297, in post
return self.request(**r)