def METHOD_NAME(self):
    couch_address = os.environ['MAPPROXY_TEST_COUCHDB']
    db_name = 'mapproxy_test_%d' % random.randint(0, 100000)
    TileCacheTestBase.METHOD_NAME(self)
    md_template = CouchDBMDTemplate({'row': '{{y}}', 'tile_column': '{{x}}',
        'zoom': '{{level}}', 'time': '{{timestamp}}', 'coord': '{{wgs_tile_centroid}}'})
    self.cache = CouchDBCache(couch_address, db_name,
        file_ext='png', tile_grid=tile_grid(3857, name='global-webmarcator'),
        md_template=md_template)