Skip to content

test(config): Convert test_schema.py from unittest to pytest#6519

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

test(config): Convert test_schema.py from unittest to pytest#6519
blackboxsw merged 1 commit into
canonical:mainfrom
csemanish12:pytest-schema-migration

Conversation

@csemanish12
Copy link
Copy Markdown
Contributor

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

  • Removed unittest.TestCase inheritance
  • Maintained all original test functionality

Related: #6427

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

  - Removed unittest.TestCase inheritance
  - Maintained all original test functionality

 Related: canonical#6427
@csemanish12 csemanish12 force-pushed the pytest-schema-migration branch from 1c23bac to 1c80490 Compare October 18, 2025 14:43
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.

+1

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

- Removed unittest.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/config/test_schema.py to use
pytest instead of unittest.TestCase as part of the pytest
migration effort.

- Removed unittest.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