make flake8 happy

This commit is contained in:
Jörg Thalheim 2020-06-30 08:45:22 +01:00
parent e09beb8f11
commit 7a5efc4080
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -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)