'Test failed write points for TestInfluxDBClient object.'

@raises(Exception)
def test_write_points_fails(self):

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