toktokkie.test.utils.iconizing package

Submodules

toktokkie.test.utils.iconizing.TestIconizer module

class toktokkie.test.utils.iconizing.TestIconizer.DummyProcedure

Bases: toktokkie.utils.iconizing.procedures.Procedure.Procedure

Class that keeps track of the iconizing efforts of an iconizing procedure

history: List[Tuple[str, str]] = []

History of the procedure

classmethod iconize(directory: str, png_icon_path: str)

Keeps track of iconizing history :param directory: The directory to iconize :param png_icon_path: The PNG file :return: None

classmethod is_applicable() → bool
Returns

True

class toktokkie.test.utils.iconizing.TestIconizer.TestIconizer(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Tests for the Iconizer class

cleanup()

Resets the DummyProcedure :return: None

test_getting_default_procedure()

Tests getting the default procedure :return: None

test_iconizing()

Tests simple iconizing :return: None

test_noop_procedure()

Tests the NoopProcedure :return: None

Module contents