cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

tests: convert test_cc_power_state_change.py to pytest

Open MoeSalah1999 opened this issue 2 weeks ago • 0 comments

Proposed Commit Message

Converted test_cc_power_state_change.py from unittest to pytest:
- Removed all TestCase subclasses.
- Used pytest fixtures instead of the unittest setUp method.
- Converted all self.assert to plain assert.

Fixes GH-#6427 (GitHub Issue number. Remove line if irrelevant)

Additional Context

Test Steps

Merge type

  • [x] Squash merge using "Proposed Commit Message"
  • [ ] Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

MoeSalah1999 avatar Dec 13 '25 13:12 MoeSalah1999