]> granicus.if.org Git - pdns/commitdiff
clean todolist
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Tue, 17 Apr 2018 12:12:57 +0000 (14:12 +0200)
committerCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Tue, 17 Apr 2018 12:12:57 +0000 (14:12 +0200)
regression-tests.auth-py/test_LuaRecords.py

index d93ec21cd378b41d815fa99ca16b424b94a6558e..5d40f37b7c93895b32e01f3d0bc1b0150086a5d1 100644 (file)
@@ -30,43 +30,6 @@ class FakeHTTPServer(BaseHTTPRequestHandler):
         self._set_headers()
 
 class TestLuaRecords(AuthTest):
-    """
-    * ifurlup supports multiple groups of IP addresses, why not ifportup ?
-
-    * pickrandom() can be used with a set of IPs or CNAMES whereas pickwrandom cannot
-      maybe unifying this would be nice
-      Note: there is a comment about that "In C++ this is ComboAddress in,
-      ComboAddress out. In Lua, vector string in, string out"
-
-    * first query to a ifportup/ifurlup looks like returning all records
-
-    * ifurlup with a different port ?
-
-    TODO
-    ----
-    * [x] test pickrandom()
-    * [x] test pickwrandom()
-    * [x] test pickwhashed()
-    * [x] test ifportup()
-    * [ ] test ifportup() with other selectors
-    * [x] test ifurlup()
-    * [x] test latlon()
-    * [x] test latlonloc()
-    * [x] test netmask()
-    * [x] test country()
-    * [x] test continent()
-
-    * [x] test pickclosest()
-    * [x] test closestMagic()
-    * [x] test view()
-    * [x] test asnum()
-    * [x] rename pickwhashed() and pickwrandom() ?
-    * [x] unify pickrandom() pickwhashed() and pickwrandom() parameters (ComboAddress vs string)
-    * [x] make lua errors SERVFAIL
-    * [ ] Feature Request: allow both list of ips and string as argument of `pick*()` to return multiple records
-    * [ ] What to do with cases like "LUA AAAA pickrandom('::1', '127.0.0.1')" that will fail only if "127.0.0.1" is returned ?
-    * [ ] ifurlup supports multiple groups of IP addresses, why not ifportup ? (ie: "{{ip1g1, ip2g1}, {ip1g2}}" vs "{ip1, ip2, ip3}")
-    """
     _zones = {
         'example.org': """
 example.org.                 3600 IN SOA  {soa}