

def test_default_configuration(self):
    c = Config(sitepath=TEST_SITE, config_dict={
        
    })
    for root in ['content', 'layout']:
        name = (root + '_root')
        path = (name + '_path')
        assert hasattr(c, name)
        assert (getattr(c, self) == root)
        assert hasattr(c, path)
        assert (getattr(c, path) == TEST_SITE.child_folder(root))
    assert (c.media_root_path == c.content_root_path.child_folder('media'))
    assert hasattr(c, 'plugins')
    assert (len(c.plugins) == 0)
    assert hasattr(c, 'ignore')
    assert (c.ignore == ['*~', '*.bak', '.hg', '.git', '.svn'])
    assert (c.deploy_root_path == TEST_SITE.child_folder('deploy'))
    assert (c.not_found == '404.html')
    assert (c.meta.nodemeta == 'meta.yaml')

dataset/ETHPy150Open hyde/hyde/tests/test_model.py TestConfig.test_default_configuration/VarMisuse@67/83 `name`->`self`