def test_fetch_from_file_absolute_path(self, local_config): config = get_project_from_file(normalize_url(str(local_config))) assert set(config.keys()) == self.expected
def test_fetch_from_file_relative_with_context(self, local_config): url = './' + local_config.basename with local_config.dirpath().as_cwd(): config = get_project_from_file(normalize_url(url)) assert set(config.keys()) == self.expected
def test_fetch_from_file_absolute_with_scheme(self, local_config): url = 'file://' + str(local_config) with local_config.dirpath().as_cwd(): config = get_project_from_file(normalize_url(url)) assert set(config.keys()) == self.expected