summaryrefslogtreecommitdiffstats
path: root/tests/commands/gc_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-10 06:30:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-10 06:30:40 +0000
commitf174d1c83b97cd7007a792255c5e132306e6c1a3 (patch)
tree0506eadfc5ef4db1ca746799d35d4610df9a9c78 /tests/commands/gc_test.py
parentAdding upstream version 3.2.2. (diff)
downloadpre-commit-f174d1c83b97cd7007a792255c5e132306e6c1a3.tar.xz
pre-commit-f174d1c83b97cd7007a792255c5e132306e6c1a3.zip
Adding upstream version 3.3.1.upstream/3.3.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/commands/gc_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/commands/gc_test.py b/tests/commands/gc_test.py
index c128e93..95113ed 100644
--- a/tests/commands/gc_test.py
+++ b/tests/commands/gc_test.py
@@ -43,8 +43,9 @@ def test_gc(tempdir_factory, store, in_git_dir, cap_out):
store.mark_config_used(C.CONFIG_FILE)
# update will clone both the old and new repo, making the old one gc-able
- install_hooks(C.CONFIG_FILE, store)
- assert not autoupdate(C.CONFIG_FILE, store, freeze=False, tags_only=False)
+ assert not install_hooks(C.CONFIG_FILE, store)
+ assert not autoupdate(C.CONFIG_FILE, freeze=False, tags_only=False)
+ assert not install_hooks(C.CONFIG_FILE, store)
assert _config_count(store) == 1
assert _repo_count(store) == 2