def test_load(requirements_path: Path): config = Config() config.attach_file(path=str(requirements_path / 'dephell.toml'), env='some_env') assert config['from']['format'] == 'pip'
def test_load(): config = Config() config.attach_file(path=str(Path('tests') / 'requirements' / 'dephell.toml'), env='some_env') assert config['from']['format'] == 'pip'
def test_load(): config = Config() config.attach_file(path='./tests/requirements/dephell.toml', env='some_env') assert config['from']['format'] == 'pip'