From: =?utf-8?q?Michel_Vo=C3=9Fkuhle?= <m.vosskuhle@gmail.com>
Date: Mon, 14 Dec 2020 08:33:08 +0000
Subject: allow running python tests

Forwarded: not-needed
Acked-by: Sebastien Badia <seb@sebian.fr>
Last-Update: 2015-02-28

The test suite expected the binaries to be found in a different place.
---
 test/basetest/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/basetest/utils.py b/test/basetest/utils.py
index 9d25479..a36ade5 100644
--- a/test/basetest/utils.py
+++ b/test/basetest/utils.py
@@ -29,7 +29,7 @@ CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
 
 # Location of binary files (usually the src/ folder)
 BIN_PREFIX = os.path.abspath(
-    os.path.join(CURRENT_DIR, "..", "..", "src")
+    os.path.join(CURRENT_DIR, "..", "..", os.path.basename(os.path.split(os.getcwd())[0]), "src")
 )
 
 # Default location of test certificates
