def test_dsn_constructor(self):
     client = DataFrameClient.from_DSN('influxdb://localhost:8086')
     self.assertIsInstance(client, DataFrameClient)
     self.assertEqual('http://localhost:8086', client._baseurl)
Ejemplo n.º 2
0
 def get_dataframe_client(self):
     return DataFrameClient.from_DSN(self.influx_url, timeout=self.timeout)