Skip to content

TPS-4285: Implement integration tests for ReservedIP for IPv4#688

Open
mawilk90 wants to merge 28 commits intolinode:proj/reserved-ipsfrom
mawilk90:feature/TPT-4285-python-sdk-implement-integration-tests-for-reserved-ip-for-ipv4
Open

TPS-4285: Implement integration tests for ReservedIP for IPv4#688
mawilk90 wants to merge 28 commits intolinode:proj/reserved-ipsfrom
mawilk90:feature/TPT-4285-python-sdk-implement-integration-tests-for-reserved-ip-for-ipv4

Conversation

@mawilk90
Copy link
Copy Markdown
Contributor

@mawilk90 mawilk90 commented Apr 27, 2026

📝 Description

Notes:

  • This PR is blocked by 687

✔️ How to Test

make test-int TEST_ARGS="-k reserved_ip -v"
make test-int TEST_ARGS="-k reserve_ephemeral -v"

@mawilk90 mawilk90 added new-feature for new features in the changelog. testing for updates to the testing suite in the changelog. labels Apr 27, 2026
Comment thread test/integration/models/networking/test_networking.py Fixed
@mawilk90 mawilk90 added the do-not-merge PRs that should not be merged until the commented issue is resolved label Apr 28, 2026
@mawilk90 mawilk90 marked this pull request as ready for review May 4, 2026 07:59
@mawilk90 mawilk90 requested a review from a team as a code owner May 4, 2026 07:59
@mawilk90 mawilk90 requested review from a team, Copilot, dawiddzhafarov and mgwoj and removed request for a team May 4, 2026 07:59
@mawilk90 mawilk90 requested review from a team and zliang-akamai and removed request for a team and dawiddzhafarov May 4, 2026 08:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR expands the integration test suite for the SDK's Reserved IPv4 support, covering the new networking APIs plus cross-resource flows where reserved addresses can be tagged or attached to Linodes and NodeBalancers. It fits into the codebase by adding end-to-end coverage around the Reserved IP models and helpers that were recently added to the client, and it is explicitly stacked on top of linked PR #687.

Changes:

  • Adds shared integration fixtures for creating reserved IPs and reserved IPs assigned to a Linode.
  • Adds networking integration tests for reserved IP create/update/assign/allocate/type-conversion flows.
  • Adds cross-resource reserved IP coverage for tags, NodeBalancers, Linode allocation, and interface-based instance creation.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
test/integration/conftest.py Adds reusable fixtures for creating standalone and assigned Reserved IPv4 addresses.
test/integration/models/networking/test_networking.py Adds the main Reserved IPv4 integration coverage and shared assertion helpers.
test/integration/models/nodebalancer/test_nodebalancer.py Adds NodeBalancer creation coverage using a reserved IPv4 address.
test/integration/models/linode/test_linode.py Adds coverage for attaching an existing reserved IPv4 to a Linode.
test/integration/models/linode/interfaces/test_interfaces.py Adds reserved IPv4 coverage for both legacy and Linode interface-generation instance creates.
test/integration/models/tag/test_tag.py Adds tag retrieval coverage for reserved IPv4 tagged objects.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/integration/conftest.py
Comment thread test/integration/models/networking/test_networking.py
Comment thread test/integration/models/networking/test_networking.py
Comment thread test/integration/models/networking/test_networking.py
Comment thread test/integration/models/networking/test_networking.py Outdated
Comment thread test/integration/conftest.py Outdated
Comment thread test/integration/models/nodebalancer/test_nodebalancer.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge PRs that should not be merged until the commented issue is resolved new-feature for new features in the changelog. testing for updates to the testing suite in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants