mirror of
https://github.com/nix-community/nix-direnv.git
synced 2024-09-17 14:28:04 +03:00
make flake8 happy
This commit is contained in:
parent
e09beb8f11
commit
7a5efc4080
@ -27,8 +27,7 @@ class IntegrationTest(unittest.TestCase):
|
||||
shutil.copytree(TEST_ROOT.joinpath("testenv"), self.testenv)
|
||||
direnvrc = str(TEST_ROOT.parent.joinpath("direnvrc"))
|
||||
with open(self.testenv.joinpath(".envrc"), "w") as f:
|
||||
f.write(f"source {direnvrc}\n")
|
||||
f.write(f"use nix")
|
||||
f.write(f"source {direnvrc}\n" "use nix")
|
||||
|
||||
def test_direnv(self) -> None:
|
||||
run(["direnv", "allow"], cwd=str(self.testenv), env=self.env, check=True)
|
||||
|
Loading…
Reference in New Issue
Block a user