'Test write points fail for TestInfluxDBClient object.'

@raises(Exception)
def test_write_points_fails(self):

    cli = InfluxDBClient(u'host', 8086, u'username', u'password', u'db')
    with _mocked_session(cli, u'post', 500):
        cli.write_points([])
