[svn] commit: r3244 - in /branches/vorner-sockcreator/src/bin/bind10: sockcreator.py tests/Makefile.am tests/sockcreator_test.py

BIND 10 source code commits bind10-changes at lists.isc.org
Sun Oct 17 18:12:40 UTC 2010


Author: vorner
Date: Sun Oct 17 18:12:40 2010
New Revision: 3244

Log:
Tests for sockcreator.Parser

They all fail, as it is not implemented.

Added:
    branches/vorner-sockcreator/src/bin/bind10/tests/sockcreator_test.py
Modified:
    branches/vorner-sockcreator/src/bin/bind10/sockcreator.py
    branches/vorner-sockcreator/src/bin/bind10/tests/Makefile.am

Modified: branches/vorner-sockcreator/src/bin/bind10/sockcreator.py
==============================================================================
--- branches/vorner-sockcreator/src/bin/bind10/sockcreator.py (original)
+++ branches/vorner-sockcreator/src/bin/bind10/sockcreator.py Sun Oct 17 18:12:40 2010
@@ -51,7 +51,8 @@
     def __init__(self, creator_socket):
         """
         Creates the parser. The creator_socket is socket to the socket creator
-        process that will be used to communication.
+        process that will be used to communication. However, the object must
+        have a read_fd() method, that reads a file descriptor from the socket.
         """
         pass # TODO Implement
 

Modified: branches/vorner-sockcreator/src/bin/bind10/tests/Makefile.am
==============================================================================
--- branches/vorner-sockcreator/src/bin/bind10/tests/Makefile.am (original)
+++ branches/vorner-sockcreator/src/bin/bind10/tests/Makefile.am Sun Oct 17 18:12:40 2010
@@ -1,4 +1,4 @@
-PYTESTS = bind10_test.py
+PYTESTS = bind10_test.py sockcreator_test.py
 EXTRA_DIST = $(PYTESTS)
 
 # later will have configure option to choose this, like: coverage run --branch




More information about the bind10-changes mailing list