+ self.assertEqual(
+ [b['liked'] for b in self.signed_json('/api/books/')],
+ [False, False, False]
+ )
+ # This one fails in the legacy implementation
+ # data = self.signed_json('/api/books/child/')
+ # self.assertFalse(data['parent']['liked'])
+ # self.assertFalse(data['children'][0]['liked'])
+