From 6bbfbf5af5710e833f5040d818af9efc04e782e6 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Fri, 14 Apr 2023 11:31:00 -0400 Subject: [PATCH] Fix failing tests In 988193f812003cdf34e5f550487c40ed7163fb08 a new input was added to the flake, and thus broke this test. --- tests/test_gc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_gc.py b/tests/test_gc.py index 2982128..012ef54 100644 --- a/tests/test_gc.py +++ b/tests/test_gc.py @@ -75,10 +75,10 @@ def test_use_flake(direnv_project: DirenvProject) -> None: common_test(direnv_project) inputs = list((direnv_project.dir / ".direnv/flake-inputs").iterdir()) # should only contain our flake-utils flake - if len(inputs) != 3: + if len(inputs) != 4: run(["nix", "flake", "archive", "--json"], cwd=direnv_project.dir) print(inputs) - assert len(inputs) == 3 + assert len(inputs) == 4 for symlink in inputs: assert symlink.is_dir()