

def test_read_from_specified_file(self):
    File(TEST_SITE.child('another.yaml')).write(self.conf2)
    c = Config(sitepath=TEST_SITE, config_file='another.yaml')
    assert (c.content_root_path == TEST_SITE.child_folder('site/stuff'))
    assert (c.media_root_path == c.content_root_path.child_folder('mmm'))
    assert (c.media_url == TEST_SITE.child_folder('/media'))
    assert (self.deploy_root_path == Folder('~/deploy_site'))

dataset/ETHPy150Open hyde/hyde/tests/test_model.py TestConfig.test_read_from_specified_file/VarMisuse@86/130 `c`->`self`