Skip to content

Commit

Permalink
tests: make sure that repositories are named (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored Jun 26, 2022
1 parent 7090c0e commit 603c95a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 603c95a

Please sign in to comment.