In the repo unit tests, UbuntuTestCase is not using the apt cache fake
Metadata
Current evaluation
UbuntuTestCase apt-cache fake cleanup was abandoned: maintainer ~mr-cal closed #1716032 as stale on 2026-08-25; no resolving PR or commit was recorded.
Resolution: closed stale
Reason: Maintainer ~mr-cal explicitly closed the issue as stale after prolonged inactivity. No implementation or resolving PR was provided.
Evaluated by: mr-cal-bot
No scores available.
Issue body
We have a fake apt cache in snapcraft/tests/fixture_setup.py
This fake should be used by all the unit tests that require to access the apt cache.
The unit tests in snapcraft.tests.repo.UbuntuTestCase are using a mock instead. They should be updated to use the fake.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | UbuntuTestCase apt-cache fake cleanup was abandoned: maintainer ~mr-cal closed #1716032 as stale on 2026-08-25; no resolving PR or commit was recorded. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale; no resolving PR or commit was provided, and the requested UbuntuTestCase apt-cache fake cleanup was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Updating UbuntuTestCase unit tests to use the fake apt cache instead of a mock was abandoned when the request was closed as stale. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
15
Confidence:
90
Support Request:
5
|
close stale | Request to update UbuntuTestCase unit tests to use the existing fake apt cache instead of a mock. The issue has been open for nearly 9 years with no activity or maintainer response. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
20
Confidence:
90
Support Request:
5
|
close stale | Unit tests for UbuntuTestCase use mocks instead of the project's fake apt cache. Unaddressed for nearly 9 years with no maintainer interaction. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
20
Confidence:
90
Support Request:
5
|
close stale | Unit tests for UbuntuTestCase use a mock instead of the existing apt cache fake. Unaddressed for nearly 9 years with no maintainer interaction. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1334 tests: use the fake apt cache in deb unit tests | snapcraft | merged | Merged PR #1334 as commit 3bcb730e0, updating deb unit tests to use a fake APT cache for better isolation and reliability. |