Setup the FakeParts store for all unit tests
Metadata
Current evaluation
Merged following two approvals. Configured the FakeParts fixture across five files to ensure unit tests properly initialize the remote parts cache via snapcraft update.
Suggested action: —
No scores available.
Issue body
Now that we run snapcraft update by deftault to get an initial
remote parts cache, most (not all) test require the FakeParts
fixture to be setup.
LP: #1600273
Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged following two approvals. Configured the FakeParts fixture across five files to ensure unit tests properly initialize the remote parts cache via snapcraft update. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after two approvals. Configures the FakeParts fixture for all unit tests to support the default snapcraft update remote parts cache, resolving LP #1600273. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged following two approvals. Configures the FakeParts fixture for all unit tests to accommodate the default snapcraft update behavior that fetches a remote parts cache. Resolves LP: #1600273. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #46 tests: add fake snapd fixture | craft-parts | merged | Merged after two approvals and passing CI. Introduces a fake snapd fixture to test snap package handling in craft-parts.packages. Adds 212 lines across two files. Windows compatibility limitations were noted for separate follow-up. | |
| #1611828 All the unit tests start a fake parts server | snapcraft (launchpad) | closed | Fixed by modifying the unit test base class to conditionally start the fake parts server only when required, reducing suite execution time. Marked verification-done. |