[Spice-devel] [spice 4/8] tests: migrate: fix relative qmp.py path

Victor Toso victortoso at redhat.com
Wed Sep 25 09:06:57 UTC 2019


From: Victor Toso <me at victortoso.com>

Moved in qemu, see:

 | commit 8f8fd9edba4bd6768da2c8e2bea49ad5c16ced1a
 | Author: Cleber Rosa <crosa at redhat.com>
 | Date:   Wed Feb 6 11:29:01 2019 -0500
 |
 |     Introduce a Python module structure
 |
 |     This is a simple move of Python code that wraps common QEMU
 |     functionality, and are used by a number of different tests and
 |     scripts.
 |
 |     By treating that code as a real Python module, we can more easily:
 |      * reuse code
 |      * have a proper place for the module's own unittests
 |      * apply a more consistent style
 |      * generate documentation

Signed-off-by: Victor Toso <victortoso at redhat.com>
---
 tests/migrate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/migrate.py b/tests/migrate.py
index f893b2ac..5cbc8218 100755
--- a/tests/migrate.py
+++ b/tests/migrate.py
@@ -32,7 +32,7 @@ try:
     import qmp
 except:
     import sys
-    sys.path.append("../../qemu/QMP")
+    sys.path.append("../../qemu/python/qemu/")
     try:
         import qmp
     except:
-- 
2.21.0



More information about the Spice-devel mailing list