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:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-10 06:30:43 +0000
commitc3ded2824ef2c8a2ed59b2a6e339aba8810c1e06 (patch)
tree3261d832802f924e45a17fe459b89b2a1829b75d /tests/commands/gc_test.py
parentReleasing debian version 3.2.2-1. (diff)
downloadpre-commit-c3ded2824ef2c8a2ed59b2a6e339aba8810c1e06.tar.xz
pre-commit-c3ded2824ef2c8a2ed59b2a6e339aba8810c1e06.zip
Merging upstream version 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