Change in ovirt-engine-sdk[master]: Use relative imports for test utilities

omachace at redhat.com omachace at redhat.com
Mon Aug 29 17:34:35 UTC 2016


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 at redhat.com>
---
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: Looks good to me, approved
  Juan Hernandez: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/62935
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7baa886f08310f040f62c897f964e8e2407e8e0a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list