class EventNotificationTestCase(_NotificationTestCase):
def test_create_no_cc_prio_map(self):
notif = bt2.EventNotification(self._event)
class EventNotificationTestCase(_NotificationTestCase):
def test_create_no_cc_prio_map(self):
notif = bt2.EventNotification(self._event)
class PacketBeginningNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.PacketBeginningNotification(self._packet)
class PacketBeginningNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.PacketBeginningNotification(self._packet)
class PacketEndNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.PacketEndNotification(self._packet)
class PacketEndNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.PacketEndNotification(self._packet)
class StreamBeginningNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.StreamBeginningNotification(self._stream)
class StreamBeginningNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.StreamBeginningNotification(self._stream)
class StreamEndNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.StreamEndNotification(self._stream)
class StreamEndNotificationTestCase(_NotificationTestCase):
def test_create(self):
notif = bt2.StreamEndNotification(self._stream)
class InactivityNotificationTestCase(unittest.TestCase):
def setUp(self):
self._cc1 = bt2.ClockClass('cc1', 1000)
class InactivityNotificationTestCase(unittest.TestCase):
def setUp(self):
self._cc1 = bt2.ClockClass('cc1', 1000)