1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
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}"
|