aboutsummaryrefslogtreecommitdiffstats
path: root/test/uitests.sikuli/config.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-06-01 20:25:35 -0500
committerJesús <heckyel@hyperbola.info>2020-06-01 20:25:35 -0500
commit9d221d5af918803180f74cd9fcbf107d38b068de (patch)
tree9d2b61b17c2a6305e9c62aa6f13e89826bcccfc2 /test/uitests.sikuli/config.py
parent507463cf0d147415d84990d9fd7eaff4aa6d7bd0 (diff)
downloadlibrevideoconverter-9d221d5af918803180f74cd9fcbf107d38b068de.tar.lz
librevideoconverter-9d221d5af918803180f74cd9fcbf107d38b068de.tar.xz
librevideoconverter-9d221d5af918803180f74cd9fcbf107d38b068de.zip
fix test
Diffstat (limited to 'test/uitests.sikuli/config.py')
-rw-r--r--test/uitests.sikuli/config.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/uitests.sikuli/config.py b/test/uitests.sikuli/config.py
index 27e7a74..ab89dc8 100644
--- a/test/uitests.sikuli/config.py
+++ b/test/uitests.sikuli/config.py
@@ -1,4 +1,4 @@
-# config.py
+#config.py
import os
import time
from sikuli.Sikuli import *
@@ -8,8 +8,9 @@ def set_image_dirs():
"""Set the Sikuli image path for the os specific
image directory and the main Image dir.
"""
- os_imgs = os.path.join(os.path.dirname(os.path.abspath(__file__)),
- "Images_"+get_os_name())
+ os_imgs = os.path.join(
+ os.path.dirname(
+ os.path.abspath(__file__)), "Images_"+get_os_name())
imgs = os.path.join(os.path.dirname(os.path.abspath(__file__)), "Images")
dir_list = [imgs, os_imgs]
@@ -41,10 +42,11 @@ def launch_cmd():
if get_os_name() == "osx":
launch_cmd = "/Applications/Libre Video Converter.app"
elif get_os_name() == "win":
- launch_cmd = os.path.join(os.getenv("PROGRAMFILES"),
- "Participatory Culture Foundation",
- "Libre Video Converter",
- "LibreConverter.exe")
+ launch_cmd = os.path.join(
+ os.getenv("PROGRAMFILES"),
+ "Participatory Culture Foundation",
+ "Libre Video Converter",
+ "LibreVideoConverter.exe")
else:
print(get_os_name())
print(launch_cmd)