From 70ac3c01b3c6926f951d19a476fa3bdb757dc4b5 Mon Sep 17 00:00:00 2001 From: bunkerity Date: Mon, 25 Jul 2022 10:34:11 +0200 Subject: [PATCH] tests - fix missing arg no_copy_container --- examples/reverse-proxy-singlesite/tests.json | 1 + tests/AutoconfTest.py | 4 ++-- tests/DockerTest.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/reverse-proxy-singlesite/tests.json b/examples/reverse-proxy-singlesite/tests.json index aa8e1f24c..78182029d 100644 --- a/examples/reverse-proxy-singlesite/tests.json +++ b/examples/reverse-proxy-singlesite/tests.json @@ -6,6 +6,7 @@ "swarm" ], "timeout": 60, + "no_copy_container": true, "tests": [ { "type": "string", diff --git a/tests/AutoconfTest.py b/tests/AutoconfTest.py index 9f94094c2..84893a633 100644 --- a/tests/AutoconfTest.py +++ b/tests/AutoconfTest.py @@ -9,8 +9,8 @@ from logger import log class AutoconfTest(Test) : - def __init__(self, name, timeout, tests) : - super().__init__(name, "autoconf", timeout, tests) + def __init__(self, name, timeout, tests, no_copy_container=False) : + super().__init__(name, "autoconf", timeout, tests, no_copy_container=no_copy_container) self._domains = { r"www\.example\.com": getenv("TEST_DOMAIN1"), r"auth\.example\.com": getenv("TEST_DOMAIN1"), diff --git a/tests/DockerTest.py b/tests/DockerTest.py index a6488e5ec..302f644b0 100644 --- a/tests/DockerTest.py +++ b/tests/DockerTest.py @@ -8,8 +8,8 @@ from logger import log class DockerTest(Test) : - def __init__(self, name, timeout, tests) : - super().__init__(name, "docker", timeout, tests) + def __init__(self, name, timeout, tests, no_copy_container=False) : + super().__init__(name, "docker", timeout, tests, no_copy_container=no_copy_container) self._domains = { r"www\.example\.com": getenv("TEST_DOMAIN1"), r"auth\.example\.com": getenv("TEST_DOMAIN1"),