summaryrefslogtreecommitdiffstats
path: root/tests-extra/tools/dnstest/libknot.py
diff options
context:
space:
mode:
authorLibor Peltan <libor.peltan@nic.cz>2023-08-21 18:16:08 +0200
committerLibor Peltan <libor.peltan@nic.cz>2023-08-21 18:16:08 +0200
commitfbf5c9491b269f8089be41d5c14c40d42990c8a0 (patch)
treef1b158ddaf809b24c09bd458515af5fc6ed861b1 /tests-extra/tools/dnstest/libknot.py
parentdistro/el-7: don't try to import sphinx_panels (diff)
downloadknot-fbf5c9491b269f8089be41d5c14c40d42990c8a0.tar.xz
knot-fbf5c9491b269f8089be41d5c14c40d42990c8a0.zip
tests/bugfix: import moved libknot-python modules, see 4d7eb96bf93e620e771fe0133855e50e973942ac
Diffstat (limited to '')
-rw-r--r--tests-extra/tools/dnstest/libknot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests-extra/tools/dnstest/libknot.py b/tests-extra/tools/dnstest/libknot.py
index 1a508e384..554f59415 100644
--- a/tests-extra/tools/dnstest/libknot.py
+++ b/tests-extra/tools/dnstest/libknot.py
@@ -1,12 +1,13 @@
#!/usr/bin/env python3
+import os
import sys
from dnstest.utils import Skip
import dnstest.params as params
try:
- sys.path.append(params.repo_binary("python"))
+ sys.path.append(os.path.join(params.repo_binary("python"), "libknot"))
import libknot
import libknot.control
import libknot.probe