'Establish a clean test environment'

def setUp(self):

    super(TestRegistryV2Client, self).setUp()
    db_api.get_engine()
    self.context = context.RequestContext(is_admin=True)
    uuid1_time = timeutils.utcnow()
    uuid2_time = (uuid1_time + datetime.timedelta(seconds=5))
    self.FIXTURES = [self.get_extra_fixture(id=UUID1, name='fake    image    #1', visibility='shared', disk_format='ami', container_format='ami', size=13, virtual_size=26, properties={'type': 'kernel'}, location='swift://user:passwd@acct/container/obj.tar.0', created_at=uuid1_time), self.get_extra_fixture(id=UUID2, name='fake    image    #2', properties={}, size=19, virtual_size=38, location='file:///tmp/glance-tests/2', created_at=uuid2_time)]
    self.destroy_fixtures()
    self.create_fixtures()
    self.client = rclient.RegistryClient('0.0.0.0')
