mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
fix format
This commit is contained in:
parent
8863fa0824
commit
bd26bb8daf
2 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ class DirenvProject:
|
||||||
run(["direnv", "allow"], cwd=self.directory)
|
run(["direnv", "allow"], cwd=self.directory)
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture
|
||||||
def direnv_project(test_root: Path, project_root: Path) -> Iterator[DirenvProject]:
|
def direnv_project(test_root: Path, project_root: Path) -> Iterator[DirenvProject]:
|
||||||
"""
|
"""
|
||||||
Setups a direnv test project
|
Setups a direnv test project
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ TEST_ROOT = Path(__file__).parent.resolve()
|
||||||
PROJECT_ROOT = TEST_ROOT.parent
|
PROJECT_ROOT = TEST_ROOT.parent
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture
|
||||||
def test_root() -> Path:
|
def test_root() -> Path:
|
||||||
"""
|
"""
|
||||||
Root directory of the tests
|
Root directory of the tests
|
||||||
|
|
@ -14,7 +14,7 @@ def test_root() -> Path:
|
||||||
return TEST_ROOT
|
return TEST_ROOT
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture
|
||||||
def project_root() -> Path:
|
def project_root() -> Path:
|
||||||
"""
|
"""
|
||||||
Root directory of the tests
|
Root directory of the tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue