def test_cleanup_notification_transport_null(self):
    rpc.TRANSPORT = mock.Mock()
    rpc.NOTIFIER = mock.Mock()
    self.assertRaises(AssertionError, rpc.cleanup)
def test_cleanup_notification_transport_null(self):
    rpc.TRANSPORT = mock.Mock()
    rpc.NOTIFIER = mock.Mock()
    self.assertRaises(AssertionError, rpc.cleanup)