diff --git a/tests/conftest.py b/tests/conftest.py index 976be6c..2a9a466 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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") diff --git a/tests/test_exporter.py b/tests/test_exporter.py index 3eca09a..fe6fca8 100644 --- a/tests/test_exporter.py +++ b/tests/test_exporter.py @@ -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", ) )