Replace subTests with TestScenarios
Metadata
Current evaluation
Merged following reviewer approval. Replaced subTests with TestScenarios across 12 files to initiate migration to testtools. Changes totaled +1111/-1064 lines while maintaining 97.09% test coverage.
Suggested action: —
No scores available.
Issue body
This is the first step to switch to testtools, for LP: #1593079
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged following reviewer approval. Replaced subTests with TestScenarios across 12 files to initiate migration to testtools. Changes totaled +1111/-1064 lines while maintaining 97.09% test coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the update replacing subTests with TestScenarios as the initial step toward migrating to testtools. Code coverage held at 97.09%. The change was integrated into the main branch by maintainer come-maiz. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the replacement of subTests with TestScenarios as the initial step toward migrating to testtools. Code coverage remained at 97.09% upon merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #948 Use testtools as the base of all unit tests | snapcraft | merged | Merged changes to adopt testtools as the base framework for all unit tests. Approved by a maintainer, the update modified 50 files, reduced code by 236 lines, and maintained 97% coverage. |