'Test delete points for TestInfluxDBClient object.'

def test_delete_points(self):

    with _mocked_session('delete', 204) as mocked:
        cli = InfluxDBClient('host', 8086, 'username', 'password', 'db')
        self.assertTrue(cli.delete_points('foo'))
        self.assertEqual(len(mocked.call_args_list), 1)
        (args, kwds) = mocked.call_args_list[0]
        self.assertEqual(kwds['params'], {'u': 'username', 'p': 'password'})
        self.assertEqual(kwds['url'], 'http://host:8086/db/db/series/foo')
