← Back to issue list

tests: use the fake apt cache in deb unit tests

View original Github issue

Metadata

Project
snapcraft
Number
#1334
Type
pull request
State
merged
Author
come-maiz
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1334 as commit 3bcb730e0, updating deb unit tests to use a fake APT cache for better isolation and reliability.

Resolution: closed resolved

Reason: PR #1334 was approved and merged as commit 3bcb730e0, replacing real APT-cache usage in deb unit tests with a fake cache.

Evaluated by: mr-cal-bot

No scores available.

Issue body

No description provided.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1334 as commit 3bcb730e0, updating deb unit tests to use a fake APT cache for better isolation and reliability.
stealth/space-bunny-alpha — closed resolved Merged PR #1334 (commit 3bcb730e0) updated deb unit tests to use the fake apt cache, improving test isolation and reliability.
qwen/qwen3.6-35b-a3b — — Merged implementation of a fake apt cache for deb unit tests. The update modifies two files (+87/-44 lines) and was approved by two reviewers, improving test isolation and reliability.
qwen3.6-35b-a3b-mtp-q6 — — Merged updates to deb unit tests that replace the real apt cache with a fake implementation, enhancing test isolation and reliability.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3025 tests: move FakeApt fixtures into deb tests snapcraft merged Merged PR #3025 in commit 1237aa6, moving FakeApt fixtures from shared test support into the DEB tests after #3024 removed the remaining external uses.
82%
#3024 tests: remove usage of FakeApt fixtures in lifecycle snapcraft merged Merged PR #3024 in commit ab892ee03, replacing lifecycle tests' FakeApt fixtures with targeted mock patches and related cleanup.
74%
#1716032 In the repo unit tests, UbuntuTestCase is not using the apt cache fake snapcraft (launchpad) closed 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.
72%
#831 Fixed/simplified some tests to isolate them of underlying apt. charmcraft merged Merged PR #831 removed apt-dependent execution from parts/build tests, replacing a null plugin and simplifying build fixtures; merged as commit 6418a586.
71%