← Back to issue list

tests: use mocked plugins for list-plugins

View original Github issue

Metadata

Project
snapcraft
Number
#2315
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged without review after being extracted from PR #2308. Updates tests to use mocked plugins for the list-plugins command.

Suggested action:

No scores available.

Issue body

LP: #1795859 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged without review after being extracted from PR #2308. Updates tests to use mocked plugins for the list-plugins command.
qwen3.6-35b-a3b-mtp-q6 Merged by maintainer sergiusens without review. Updates tests to use mocked plugins for the list-plugins command, extracted from PR #2308. Resolves LP #1795859.
qwen3.6-35b-a3b-mtp-q6 Merged by maintainer sergiusens without review, as the change was extracted from already-reviewed PR #2308. Updates tests to use mocked plugins for list-plugins, addressing LP #1795859.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1795859 make list plugins tests use mocked plugins snapcraft (launchpad) closed Closed. The author implemented mocked plugin results to isolate test formatting logic, resolving the issue independently without discussion.
74%
#31 list-plugins command snapcraft closed Implemented the list-plugins command with passing tests. Maintainer verification confirmed functionality, and the request was closed as resolved.
70%
#606 list-plugins in one column for integration tests snapcraft closed Closed without merging. The change failed CI due to multi-column output discrepancies. It was superseded by PR #607, which replaces the formatting approach with multiple assertIn checks to verify plugin presence.
70%