We have made sure all callers set up the environment
correctly, so it's pointless to have a fallback path now.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
tests/libvirttest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/libvirttest.py b/tests/libvirttest.py
index 06e52c0..3741abd 100644
--- a/tests/libvirttest.py
+++ b/tests/libvirttest.py
@@ -10,7 +10,7 @@ import time
import xmldata
-root = os.environ.get('abs_top_builddir',
os.path.dirname(os.path.dirname(__file__)))
+root = os.environ.get('abs_top_builddir')
exe = os.path.join(root, 'src', 'libvirt-dbus')
DBusGMainLoop(set_as_default=True)
--
2.17.1