Skip to content

Unit tests for io module #72

@ns-rse

Description

@ns-rse

Whilst looking through the code base to resolve #70 I noticed that test_io.py::test_load_config() appears to test
multiple functions, some of which are conditional on the use_default value. Functions tested are...

Function use_default value triggers when
io.load_config_impl() True
io.config_wrapper.unflatten() True and False
io.yaml.safe_load() False

Ideally there should be unit tests in place of their own to check each of these functions works independent of this
integration test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTest, test, test!

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions