Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ def _fixture_dir(name: str) -> Path:

@pytest.fixture()
def repo() -> Repository:
return Repository()
return Repository("repo")


@pytest.fixture
def installed() -> Repository:
return Repository()
return Repository("installed")


@pytest.fixture(scope="session")
Expand Down
4 changes: 2 additions & 2 deletions tests/test_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1724,13 +1724,13 @@ def test_exporter_exports_requirements_txt_with_legacy_packages_and_duplicate_so
) -> None:
poetry.pool.add_repository(
LegacyRepository(
"custom",
"custom-example",
"https://example.com/simple",
)
)
poetry.pool.add_repository(
LegacyRepository(
"custom",
"custom-foobaz",
"https://foobaz.com/simple",
)
)
Expand Down