def test_no_context(self):
        with pytest.raises(KeyError):
            settings['COMPONENTS']

        assert settings.get('COMPONENTS') is None
        assert 'COMPONENTS' not in settings
        assert len(settings) == 0
        assert len(list(iter(settings))) == 0
dataset/ETHPy150Open concordusapps/alchemist/alchemist/tests/test_conf.py/TestSettings.test_no_context/original