-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-projectbuilder-path2
- Loading branch information
Showing
6 changed files
with
680 additions
and
647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
import pytest | ||
|
||
from poetry.utils.env import EnvManager | ||
|
||
|
||
if TYPE_CHECKING: | ||
|
||
from poetry.poetry import Poetry | ||
from tests.types import FixtureDirGetter | ||
from tests.types import ProjectFactory | ||
|
||
|
||
@pytest.fixture | ||
def poetry(project_factory: ProjectFactory, fixture_dir: FixtureDirGetter) -> Poetry: | ||
return project_factory("simple", source=fixture_dir("simple_project")) | ||
|
||
|
||
@pytest.fixture | ||
def manager(poetry: Poetry) -> EnvManager: | ||
return EnvManager(poetry) |
Oops, something went wrong.