gaupol.TestCase

Source: gaupol/unittest.py

Anchestors: aeidon.unittest.TestCase, builtins.object

class gaupol.TestCase

Base class for GTK+ unit test cases.

Unit tests are designed to be run with py.test, nose or something compatible. Tests should use plain assert statements to allow multiple different tools to be used to run the tests.

Methods

TestCase.new_application()

Return a new application with one open page.

TestCase.new_page()

Return a new page with two open documents.

TestCase.teardown_method(method)

Remove state set for executing tests in method.