(self)
| 551 | assert response.data == {"url": "http://testserver/example/notes/123/", "uuid": "123", "text": "foo bar example"} |
| 552 | |
| 553 | def test_delete(self): |
| 554 | response = self.client.delete('/example/notes/123/') |
| 555 | assert response.status_code == 204 |
| 556 | assert not RouterTestModel.objects.filter(uuid='123').exists() |
| 557 | |
| 558 | def test_list_extra_action(self): |
| 559 | kwarg = 1234 |