eq_(data['image'],
        '/api/v1/rocketfuel/collections/%d/image.png' % self.collection.pk)

Reads much more nicely.