We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2ec8d4 commit 49128dbCopy full SHA for 49128db
example/tests/test_views.py
@@ -152,6 +152,13 @@ def test_patch_many_to_many_relationship(self):
152
response = self.client.get(url)
153
assert response.data == request_data['data']
154
155
+ response = self.client.patch(url, data=request_data)
156
+ assert response.status_code == 200, response.content.decode()
157
+ assert response.data == request_data['data']
158
+
159
+ response = self.client.get(url)
160
161
162
def test_post_to_one_relationship_should_fail(self):
163
url = '/entries/{}/relationships/blog'.format(self.first_entry.id)
164
request_data = {
0 commit comments