changeset 3656:015e13f88960

tests (e2e): fix names in `run_e2e` script, following global name change.
author Goffi <goffi@goffi.org>
date Wed, 08 Sep 2021 11:17:34 +0200
parents ca980569318c
children 6c87c00b344a
files tests/e2e/run_e2e.py
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/tests/e2e/run_e2e.py	Wed Sep 08 11:17:19 2021 +0200
+++ b/tests/e2e/run_e2e.py	Wed Sep 08 11:17:34 2021 +0200
@@ -158,19 +158,19 @@
     libervia_web_root_path = libervia_web_path.parent
     if (libervia_web_root_path / ".hg").is_dir():
         libervia_web_source = libervia_web_root_path
-        libervia_web_target = "/src/libervia"
+        libervia_web_target = "/src/libervia-web"
     else:
         libervia_web_source = libervia_web_path
-        libervia_web_target = "/src/libervia/libervia"
+        libervia_web_target = "/src/libervia-web/libervia"
 
     sat_templates_path = Path(sat_templates.__file__).parent.resolve()
     sat_templates_root_path = sat_templates_path.parent
     if (sat_templates_root_path / ".hg").is_dir():
         sat_templates_source = sat_templates_root_path
-        sat_templates_target = "/src/sat_templates"
+        sat_templates_target = "/src/libervia-templates"
     else:
         sat_templates_source = sat_templates_path
-        sat_templates_target = "/src/sat_templates/sat_templates"
+        sat_templates_target = "/src/libervia-templates/sat_templates"
 
     compose_e2e_path = docker_path / "docker-compose-e2e.yml"
     if not compose_e2e_path.is_file():
@@ -186,13 +186,13 @@
                     volumes:
                       - type: bind
                         source: {backend_root_path}
-                        target: /src/sat
+                        target: /src/libervia-backend
                         read_only: true
                   web:
                     volumes:
                       - type: bind
                         source: {backend_root_path}
-                        target: /src/sat
+                        target: /src/libervia-backend
                         read_only: true
                       - type: bind
                         source: {libervia_web_source}
@@ -224,7 +224,7 @@
         docker_compose.up("-d")
 
         p = docker_compose.exec(
-            "-T", "--workdir", "/src/sat/tests", "backend",
+            "-T", "--workdir", "/src/libervia-backend/tests", "backend",
             "pytest", "-o", "cache_dir=/tmp", *sys.argv[1:], color="yes",
             _in=sys.stdin, _out=live_out, _out_bufsize=0, _err=live_err, _err_bufsize=0,
             _bg=True