Browse Source

[trac588] fix a unittest issue

chenzhengzhang 14 years ago
parent
commit
3b05e14294
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/bindctl/tests/bindctl_test.py

+ 1 - 1
src/bin/bindctl/tests/bindctl_test.py

@@ -332,7 +332,7 @@ class TestConfigCommands(unittest.TestCase):
         self.tool.cmdloop = cmd_loop
 
         self.tool.conn.sock = FakeSocket()
-        self.tool.conn.close()
+        self.tool.conn.sock.close()
 
         # validate log message for socket.err
         socket_err_output = io.StringIO()