tribler.test_unit.core.test_notifier

Classes

TestNotifier

Tests for the Notifier class.

Module Contents

class tribler.test_unit.core.test_notifier.TestNotifier

Bases: ipv8.test.base.TestBase

Tests for the Notifier class.

setUp() None

Create a new notifier.

test_add_observer() None

Test if an observer can be added and if it gets notified.

test_add_delegate() None

Test if a delegate can be added and if it gets notified.

test_notify_too_many_args() None

Test if notifying with too many args raises a ValueError.

test_notify_too_little_args() None

Test if notifying with too little args raises a ValueError.

test_observer_too_many_args() None

Test if observing with too many args raises a TypeError.

test_observer_too_little_args() None

Test if observing with too little args raises a TypeError.