Test API
Core API testing
Test core API.
- tests.test_api.test_depth_exception()[source]
Test the correct dcttools.depth functionality on wrong argument type.
- tests.test_api.test_kfltr_simple()[source]
Test the correct dcttools.kfltr functionality in simple usage.
- tests.test_api.test_kfltr_kwargs()[source]
Test the correct dcttools.kfltr functionality using kwargs.
- tests.test_api.test_kfrep_kwargs_as_dict()[source]
Test dcttools.kfrep functionality providing kwargs as dict.
- tests.test_api.test_kfrep_kwargs_as_dict_not_altering()[source]
Test dcttools.kfrep not altering input providing kwargs as dict.
- tests.test_api.test_kfrep_kwargs_as_kwargs_and_frep()[source]
Test dcttools.kfrep functionality providing kwargs and kfrepping.
- tests.test_api.test_kfrep_kwargs_as_kwargs_and_frep_not_altering()[source]
Test dcttools.kfrep providing kwargs and kfrepping not altering input.
- tests.test_api.test_kswap_not_altering()[source]
Test the correct dcttools.kswap functionality not altering the input.
- tests.test_api.test_kswap_similar()[source]
Test the correct dcttools.kswap functionality on similar nested keys.
- tests.test_api.test_kswap_multiple()[source]
Test the correct dcttools.kswap functionality on multiple keys.
- tests.test_api.test_flaggregate_kwargs_as_kwargs()[source]
Test correct dcttools.flaggregate functionality using kwargs as kwargs.
- tests.test_api.test_flaggregate_kwargs_as_dicts()[source]
Test correct dcttools.flaggregate functionality using kwargs as dicts.
- tests.test_api.test_flaggregate_design()[source]
Test correct dcttools.flaggregate design case functionality.
- tests.test_api.test_naggregate_three()[source]
Test correct dcttools.naggregate design case functionality.
- tests.test_api.test_naggregate_not_altering(dcts, original, expected_result)[source]
Test dcttools.naggregate not altering the input.
- tests.test_api.test_maggregate_defaults_as_dct()[source]
Test correct dcttools.maggregate using defaults as flat dict.
- tests.test_api.test_maggregate_new_tlkeys_and_updated_values()[source]
Test correct dcttools.maggregate expaning toplevel and updating values.
- tests.test_api.test_maggregate_no_fall_back_values()[source]
Test correct dcttools.maggregate not using fallback values.
- tests.test_api.test_maggregate_design()[source]
Test correct dcttools.maggregate design functionality.
- tests.test_api.test_maggregate_nstdkwargs_not_overriding_nstddicts()[source]
Test dcttools.maggregate not overriding nstd_dicts with nested kwargs.