diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-21 11:40:59 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-21 11:40:59 +0200 |
| commit | f8e9991c92618967e89a5ee4bf84de1556b6af5f (patch) | |
| tree | 6cd2048b7ff7949d935c350d48bddc0de12fd810 /tests/test_remote.py | |
| parent | 766ce6ff1ea584dfe980a5e0b29251768c4c0726 (diff) | |
| download | sb-builder-f8e9991c92618967e89a5ee4bf84de1556b6af5f.tar.gz sb-builder-f8e9991c92618967e89a5ee4bf84de1556b6af5f.zip | |
stats returns the prunable items instead of their count, and a click on
the Built tile shows them in a non-modal box, so they can be read while
another job holds the lock and Prune's preview cannot start.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_remote.py')
| -rw-r--r-- | tests/test_remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_remote.py b/tests/test_remote.py index 9f28701..f9e541f 100644 --- a/tests/test_remote.py +++ b/tests/test_remote.py @@ -185,7 +185,7 @@ class KindsTest(Base): kind = sbb.KINDS["slackrepo"] self.assertEqual(kind(self.cfg, ["prune", "--preview"]), (["slackrepo", "--repo=SBo-danix", "remove", "--preview", "misc/gone"], {})) - self.assertEqual(sbb.cmd_stats(self.cfg)["prunable"], 1) + self.assertEqual(sbb.cmd_stats(self.cfg)["prunable"], ["misc/gone"]) with self.assertRaises(sbb.Error): kind(self.cfg, ["prune", "kept"]) self.make_pkg("misc/gone") |
