← 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 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.

Suggested action:

No scores available.

Issue body

No description provided.

Evaluation history

Date Model Scores Action Summary
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.
qwen3.6-35b-a3b-mtp-q6 Merged changes to replace the real apt cache with a fake implementation in deb unit tests. Maintainer come-maiz integrated the update to improve 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 to relocate FakeApt test fixtures into the deb test suite, eliminating external dependencies and enabling safe modifications. Approved by a reviewer, passed CI, and modified three files with a net reduction of four lines.
82%
#1716032 In the repo unit tests, UbuntuTestCase is not using the apt cache fake snapcraft (launchpad) closed Updating UbuntuTestCase unit tests to use the fake apt cache instead of a mock was abandoned when the request was closed as stale.
74%