'Set up the TestSeriesHelper object.'

@classmethod
def setUpClass(cls):

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