def test_basic_call(self):
    (_, library) = dist.load()
    (sock, _) = self.create_socket_pair()
    events = WSAEnumNetworkEvents(socket_from_object(sock))
    self.assertIsInstance(events, LPWSANETWORKEVENTS)
    self.assertEqual(events.iErrorCode, tuple(([0] * library.FD_MAX_EVENTS)))
def test_basic_call(self):
    (_, library) = dist.load()
    (sock, _) = self.create_socket_pair()
    events = WSAEnumNetworkEvents(socket_from_object(sock))
    self.assertIsInstance(events, LPWSANETWORKEVENTS)
    self.assertEqual(events.iErrorCode, tuple(([0] * library.FD_MAX_EVENTS)))