b3j0f.utils.test.reflect module

class b3j0f.utils.test.reflect.BaseEltsTest(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

Test base_elts function

test_boundmethod()[source]

Test bound method

test_class()[source]

Test class

test_function()[source]

Test function

test_method()[source]

Test method

test_not_boundmethod()[source]

Test with a bound method which is only defined in the instance

test_not_inherited()[source]

Test with a not inherited element.

test_not_method()[source]

Test when method has been overriden

class b3j0f.utils.test.reflect.FindEmbeddingTest(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

test_class()[source]
test_function()[source]
test_method()[source]
test_module()[source]
test_none()[source]
test_wrong_embedding()[source]
class b3j0f.utils.test.reflect.IsOldStyle(*args, **kwargs)[source]

Bases: b3j0f.utils.ut.UTCase

Test the function isoldstyle.

test_false_multi()[source]

Test false multi.

test_false_simple()[source]

Test false.

test_true_multi()[source]

Test true multi.

test_true_simple()[source]

Test true.