Skip to content

feat: [backport 1.32] migrate integration tests to jubilant - #969

Draft
HomayoonAlimohammadi wants to merge 2 commits into
release-1.32from
KU-6190/1.32-jubilant-migration
Draft

feat: [backport 1.32] migrate integration tests to jubilant#969
HomayoonAlimohammadi wants to merge 2 commits into
release-1.32from
KU-6190/1.32-jubilant-migration

Conversation

@HomayoonAlimohammadi

Copy link
Copy Markdown
Contributor

This PR migrates pytest-operator to Jubilant.

Signed-off-by: Homayoon (Hue) Alimohammadi <homayoon.alimohammadi@canonical.com>
@HomayoonAlimohammadi HomayoonAlimohammadi changed the title feat: migrate integration tests to jubilant feat: [backport 1.32] migrate integration tests to jubilant Jul 24, 2026
release-1.32 still targets Python 3.8 and lints under it, so mypy
rejected the str.removeprefix() calls the migration introduced:

  tests/integration/test_openstack.py:72: error: "str" has no attribute
  "removeprefix"  [attr-defined]

Restore the local helper the pre-migration suite used for exactly this
reason and call it at both sites.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.

1 participant