Description: fix unittest
Author: Alexandre Detiste <tchet@debian.org>
Origin: debian
Forwarded: no, ugly
Last-Update: 2024-05-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/examples/helper.py
+++ b/examples/helper.py
@@ -128,6 +128,8 @@
         path = "../examples"
     elif cwd == "pymodbus":
         path = "examples"
+    elif cwd != "path":
+        path= "examples"
     else:
         raise RuntimeError(f"**Error** Cannot find certificate path={cwd}")
     return f"{path}/certificates/pymodbus.{suffix}"
