# HG changeset patch # User Goffi # Date 1631092654 -7200 # Node ID 015e13f889609f5d2b4e23099e7602e008bafca8 # Parent ca980569318c198732a9c314a56b6fbdd6a3271d tests (e2e): fix names in `run_e2e` script, following global name change. diff -r ca980569318c -r 015e13f88960 tests/e2e/run_e2e.py --- 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