self.assertNotIn("Location",response,msg="A Serializer without HyperlinkedIdentityField can not produce a valid Location header (for now). Thats why there shouldn'd be one")
self.assertNotIn("Location",response,msg="Location should only be included if there is a 'url' field on the serializer")
self.assertEqual(self.post.photo_set.count(),1)
self.assertEqual(self.post.photo_set.count(),1)
self.assertEqual(self.post.photo_set.all()[0].description,'A test photo')
self.assertEqual(self.post.photo_set.all()[0].description,'A test photo')