Download:
child 104:28caf44e903a
parent 102:325b3b4ce18b
103:b30120f476e6
Anton Shestakov <av6@dwimlabs.net>, Wed, 20 Jul 2016 19:01:34 +0800
tests: check that _rev is present in output

1 файлов изменено, 1 вставок(+), 0 удалений(-) [+]
test.py file | annotate | diff | comparison | revisions
--- a/test.py Tue Jul 19 18:16:23 2016 +0800
+++ b/test.py Wed Jul 20 19:01:34 2016 +0800
@@ -51,6 +51,7 @@
data = json.loads(response.data)
self.assertEqual(data['_id'], resource_id)
+ self.assertIn('_rev', data)
url = self.list_url % self.workspace
response = self.c.get(url)