'Can edit an image I created.'

def test_edit_own_image(self):

    u = UserFactory()
    img = ImageFactory(creator=u)
    self.client.login(username=u.username, password='testpass')
    r = post(self.client, 'gallery.edit_media', {'description': 'arrr'}, args=['image', img.id])
    eq_(200, r.status_code)
    eq_('arrr', Image.objects.get().description)
