'Test that a query failed.'

def test_query_fail(self):

    with self.assertRaises(InfluxDBClientError) as ctx:
        self.cli.query(u'select    column_one    from    foo')
    self.assertIn(u'database    not    found:    db', ctx.exception.content)
