← Back to issue list

Promoted the utils module, and a simple test enhancement.

View original Github issue

Metadata

Project
charmcraft
Number
#218
Type
pull request
State
merged
Author
facundobatista
Labels
Created
Updated
Closed

Current evaluation

Merged after approval. The utils module was moved out of commands for reuse by the configuration module. A test path fix was also applied to accommodate coverage usage in charmcraft init projects. Changes span 8 files with minor line adjustments.

Suggested action:

No scores available.

Issue body

Promoted the `utils` module out of `commands` because the configuration module will use it. Also included a fix in the test that runs the tests from the created project by `charmcraft init` (now it uses `coverage`, so depending on how the project tests are run, we also need to fix the path).

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after approval. The utils module was moved out of commands for reuse by the configuration module. A test path fix was also applied to accommodate coverage usage in charmcraft init projects. Changes span 8 files with minor line adjustments.
qwen3.6-35b-a3b-mtp-q6 Merged changes promoting the utils module from commands to support the configuration module. Fixed a test path issue for charmcraft init project tests now using coverage.
qwen3.6-35b-a3b-mtp-q6 Merged. Moved the utils module from commands to support the configuration module and fixed a test path issue for charmcraft init project tests to ensure coverage compatibility.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#174 tests(utils): improve coverage of utils tests fetch-service merged Merged following approval by two reviewers and passing CI checks. The update improved coverage of utils tests, with a diff showing zero lines changed, suggesting a metadata or squash merge.
71%