]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1828] Close open handles when done using them (contd.)
authorMukund Sivaraman <muks@isc.org>
Mon, 16 Apr 2012 13:18:22 +0000 (18:48 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 16 Apr 2012 13:18:22 +0000 (18:48 +0530)
src/bin/msgq/tests/msgq_test.py

index cc078f41e87399584cfc22ebc0f80dfeab51fb89..4059ea99ef44b08783e7b6aaa54b9f2a518f7a9f 100644 (file)
@@ -111,6 +111,7 @@ class TestSubscriptionManager(unittest.TestCase):
     def test_open_socket_bad(self):
         msgq = MsgQ("/does/not/exist")
         self.assertRaises(socket.error, msgq.setup)
+        msgq.listen_socket.close()
 
 class SendNonblock(unittest.TestCase):
     """