poppy.core.tests.test_dot_dict module

class poppy.core.tests.test_dot_dict.TestDotDict[source]

Bases: object

Test for the behaviour of the DotDict.

classmethod setup_class()[source]

Setup the dot dict used for the tests.

test_bad_insertion()[source]

Test that we cannot set a parameter.

test_get()[source]

Test that we can retrieve correctly some values.

test_insertion()[source]

Test that we can set a value with dot style.

test_key_error()[source]

Test accessing bad values.

class poppy.core.tests.test_dot_dict.TestSimpleDotDict[source]

Bases: object

Test for the behaviour of the SimpleDotDict.

classmethod setup_class()[source]

Setup the dot dict used for the tests.

test_bad_insertion()[source]

Test that we cannot set a parameter.

test_get()[source]

Test that we can retrieve correctly some values.

test_insertion()[source]

Test that we can set a value with dot style.

test_key_error()[source]

Test accessing bad values.