Skip to content

test(distros): Convert test_alpine.py from unittest to pytest#6514

Merged
blackboxsw merged 1 commit into
canonical:mainfrom
csemanish12:pytest-alpine-migration
Oct 17, 2025
Merged

test(distros): Convert test_alpine.py from unittest to pytest#6514
blackboxsw merged 1 commit into
canonical:mainfrom
csemanish12:pytest-alpine-migration

Conversation

@csemanish12
Copy link
Copy Markdown
Contributor

Refactored tests/unittests/distros/test_alpine.py to use pytest instead of unittest.TestCase as part of the pytest migration effort.

  • Removed TestCase inheritance
  • Maintained all original test functionality

Related: #6427

Refactored tests/unittests/distros/test_alpine.py to use pytest instead of
unittest.TestCase as part of the pytest migration effort.

  - Removed TestCase inheritance
  - Maintained all original test functionality

  Related: canonical#6427
Copy link
Copy Markdown
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

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

Keep 'em coming. 🚀. Thank you.

@blackboxsw blackboxsw merged commit 1c44cff into canonical:main Oct 17, 2025
21 checks passed
blackboxsw pushed a commit to blackboxsw/cloud-init that referenced this pull request Dec 12, 2025
Refactored tests/unittests/distros/test_alpine.py to use pytest instead of
unittest.TestCase as part of the pytest migration effort.

- Removed TestCase inheritance
- Maintained all original test functionality

Related: canonical#6427
holmanb pushed a commit that referenced this pull request Dec 18, 2025
Refactored tests/unittests/distros/test_alpine.py to use pytest instead of
unittest.TestCase as part of the pytest migration effort.

- Removed TestCase inheritance
- Maintained all original test functionality

Related: #6427
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.

2 participants