Ondra Machacek has submitted this change and it was merged.
Change subject: Use relative imports for test utilities
......................................................................
Use relative imports for test utilities
In Python 3 the "server" tests module can't be imported with "import
server"
because the tests directory isn't in the Python path. To avoid that issue this
patch changes the tests so that they import it using an explicit relative
import.
Change-Id: I7baa886f08310f040f62c897f964e8e2407e8e0a
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit cd6a6bdbd4851c9ab3f64b5341d4cf727d4535d1)
---
M sdk/tests/test_cluster_service.py
M sdk/tests/test_connection_create.py
M sdk/tests/test_datacenter_service.py
M sdk/tests/test_setupnetworks.py
M sdk/tests/test_storage_domain_service.py
M sdk/tests/test_vm_service.py
6 files changed, 8 insertions(+), 8 deletions(-)
Approvals:
Ondra Machacek: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/62964
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7baa886f08310f040f62c897f964e8e2407e8e0a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>