'Test query with bad precision for TestInfluxDBClient.'

def test_query_bad_precision(self):

    cli = InfluxDBClient()
    with self.assertRaisesRegexp(Exception, "Invalid    time    precision    is    given.    \\(use    's',    'm',    'ms'    or    'u'\\)"):
        cli.query('select    column_one    from    foo', time_precision='g')
