]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2690] Don't skip tests
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 14 Aug 2013 11:02:59 +0000 (13:02 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 14 Aug 2013 11:02:59 +0000 (13:02 +0200)
We no longer depend on poll-related constants.

src/bin/msgq/tests/msgq_test.py

index dda24915559d393c7dd463790c01bbf406eaa016..6755e66e87a98ed11b05c706237c00d3885a7216 100644 (file)
@@ -274,8 +274,6 @@ class MsgQTest(unittest.TestCase):
         sock = Sock(1)
         return notifications, sock
 
-    @unittest.skipUnless('POLLIN' in select.__dict__,
-                         'cannot perform tests requiring select.poll')
     def test_notifies(self):
         """
         Test the message queue sends notifications about connecting,
@@ -315,8 +313,6 @@ class MsgQTest(unittest.TestCase):
         self.__msgq.kill_socket(sock.fileno(), sock)
         self.assertEqual([('disconnected', {'client': lname})], notifications)
 
-    @unittest.skipUnless('POLLIN' in select.__dict__,
-                         'cannot perform tests requiring select.poll')
     def test_notifies_implicit_kill(self):
         """
         Test that the unsubscription notifications are sent before the socket