Skip to content

refactor: add unit tests to modelstatus command#1833

Merged
kian99 merged 4 commits intocanonical:v3from
kian99:modelstatus-cmd-refactor
Jan 27, 2026
Merged

refactor: add unit tests to modelstatus command#1833
kian99 merged 4 commits intocanonical:v3from
kian99:modelstatus-cmd-refactor

Conversation

@kian99
Copy link
Contributor

@kian99 kian99 commented Jan 26, 2026

Description

This PR refactors the modelstatus command and its tests to unit tests from integration tests.

Fixes JUJU-9016

Engineering checklist

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

@kian99 kian99 requested a review from a team as a code owner January 26, 2026 13:31
Copy link
Collaborator

@alesstimec alesstimec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a few comments (i think a rebase is needed, too)

@kian99 kian99 force-pushed the modelstatus-cmd-refactor branch from c86255d to a13e949 Compare January 27, 2026 08:46
The documentation command has an extra space in the example strings. We import this functionality so we can't fix it here.
@kian99 kian99 merged commit 3e56b0a into canonical:v3 Jan 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants