'Test list of series for dataframe object.'

def test_list_series(self):

    response = [{'columns': ['time', 'name'], 'name': 'list_series_result', 'points': [[0, 'seriesA'], [0, 'seriesB']]}]
    with _mocked_session('get', 200, response):
        cli = DataFrameClient('host', 8086, 'username', 'password', 'db')
        series_list = cli.get_list_series()
        self.assertEqual(series_list, ['seriesA', 'seriesB'])
