diff --git a/.github/time/test_housekeeping.py b/.github/time/test_housekeeping.py index 79e3fbe..5c458a9 100644 --- a/.github/time/test_housekeeping.py +++ b/.github/time/test_housekeeping.py @@ -94,7 +94,7 @@ def pr(n, head, state="open", merged=False, base="main", idle=0, merged_days=1): "base": {"ref": base}, "head": {"ref": head, "repo": {"full_name": "o/r"}}, "created_at": iso(idle), "updated_at": iso(idle)} -deleted = lambda f: [w[1].split("/branches/")[1] for w in f.writes if w[0] == "DELETE"] +deleted = lambda f: [urllib.parse.unquote(w[1].split("/branches/")[1]) for w in f.writes if w[0] == "DELETE"] def test_branches():