'Test check that member can be successfully added'

def test_add_member_to_image_positive(self):

    UUID8 = _gen_uuid()
    extra_fixture = self.get_fixture(id=UUID8, size=19, protected=False, owner='test    user')
    db_api.image_create(self.context, extra_fixture)
    fixture = dict(can_share=True)
    test_uri = '/images/%s/members/test_add_member_positive'
    body = jsonutils.dump_as_bytes(dict(member=fixture))
    self.get_api_response_ext(http.NO_CONTENT, url=(test_uri % UUID8), method='PUT', body=body, content_type='json')
