'Set up an instance of the TestSerisHelper object.'

@classmethod
def setUpClass(cls):

    super(TestSeriesHelper, cls).setUpClass()
    TestSeriesHelper.client = InfluxDBClient('host', 8086, 'username', 'password', 'database')
    class MySeriesHelper(SeriesHelper, ):
        'Define    a    subset    SeriesHelper    instance.'
        class Meta:
            'Define    metadata    for    the    TestSeriesHelper    object.'
            client = TestSeriesHelper.client
            series_name = 'events.stats.{server_name}'
            fields = ['time', 'server_name']
            bulk_size = 5
            autocommit = True
    TestSeriesHelper.MySeriesHelper = MySeriesHelper
