umami.tests.unit.tools package#

Submodules#

umami.tests.unit.tools.test_tools module#

Unit test script for the tools functions.

class umami.tests.unit.tools.test_tools.FlattenListTest(methodName='runTest')#

Bases: TestCase

Test class for flatten_list function.

test_already_flattened()#

Test already flattened list.

test_double_neested()#

Test case with multiple nested lists.

test_empty()#

Test empty list.

test_neested_with_dict()#

Test case when having dictionaries as list elements in nested list.

test_none()#

Test None case.

test_simple_neested()#

Test case with simple nested list.

Module contents#