chore: update netplan import semantics and related tests
The way the netplan API was being imported caused test issues.
Imports were moved and tests updated accordingly.
Fixes GH-5804
Additional Context
To reproduce in a virtualenv, symlink the netplan API (should be at /usr/lib/python3/dist-packages/netplan) into your virtualenv's site-packages.
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 (#)
Proposed Commit Message
Additional Context
To reproduce in a virtualenv, symlink the netplan API (should be at
/usr/lib/python3/dist-packages/netplan
) into your virtualenv's site-packages.Test Steps
Merge type