b3j0f.utils.test.iterable module

class b3j0f.utils.test.iterable.EnsureIterableTest(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

test_dict()[source]
test_exclude()[source]
test_list()[source]
class b3j0f.utils.test.iterable.First(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

test_default()[source]

Test default value

test_empty()[source]

Test empty iterable

test_first()[source]

Test first element in an iterable

test_notiterable()[source]

Test not iterable

class b3j0f.utils.test.iterable.IsIterable(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

test_exclude()[source]

Test iterable and not allowed types

test_excludes()[source]

Test iterable with a tuple of exclude types

test_iterable()[source]

Test an iterable value

test_not_iterable()[source]

Test not iterable element