Closed DrumRobot closed 2 years ago
Add dynamic attribute access support to autoconfig in two ways:
@pytest.mark.parametrize('path', [['env', 'project']], indirect=True) def test_autoconfig_attr(config): assert 'ENV' == config.KEY # via __getattr__ assert 'ENV' == config['KEY'] # via __getitem__
Add dynamic attribute access support to autoconfig in two ways: