Download:
child 74:ea3a3ddbacd3
parent 72:b7850abdf559
73:c859feab1f4a
Anton Shestakov <av6@dwimlabs.net>, Wed, 02 Mar 2016 21:25:41 +0800
test: test data after resource deletion, just in case

1 файлов изменено, 1 вставок(+), 0 удалений(-) [+]
test.py file | annotate | diff | comparison | revisions
--- a/test.py Wed Mar 02 21:25:04 2016 +0800
+++ b/test.py Wed Mar 02 21:25:41 2016 +0800
@@ -79,6 +79,7 @@
url = self.item_url % (self.workspace, resource_id)
response = self.c.delete(url)
data = json.loads(response.data)
+ self.assertEqual(data, '')
response = self.c.get(url)
self.assertEqual(response.status_code, 404)