'Establish a clean test environment'

def setUp(self):

    super(TestRegistryV1Client, self).setUp()
    db_api.get_engine()
    self.context = context.RequestContext(is_admin=True)
    self.FIXTURES = [self.get_fixture(id=UUID1, name='fake    image    #1', is_public=False, disk_format='ami', container_format='ami', size=13, location='swift://user:passwd@acct/container/obj.tar.0', properties={'type': 'kernel'}), self.get_fixture(id=UUID2, name='fake    image    #2', properties={}, size=19, location='file:///tmp/glance-tests/2')]
    self.destroy_fixtures()
    self.create_fixtures()
    self.client = rclient.RegistryClient('0.0.0.0')
