diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-10 20:31:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 20:31:57 +0200 |
commit | f2ea6a57b0876ee164d617ca4f54b37afa80f221 (patch) | |
tree | 5fb62c49be34e389e963b803a14ca29027be9c59 /smoketest | |
parent | e626407f4c246941eb2ca1b167a4b594b7bf6461 (diff) | |
parent | f36fe0fbd65f4992c867873698b921745bfc8f91 (diff) | |
download | vyos-1x-f2ea6a57b0876ee164d617ca4f54b37afa80f221.tar.gz vyos-1x-f2ea6a57b0876ee164d617ca4f54b37afa80f221.zip |
Merge pull request #1000 from sever-sever/T3810
squid: squidguard: T3810: Fix template for sourcre-group and rule
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_service_webproxy.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_service_webproxy.py b/smoketest/scripts/cli/test_service_webproxy.py index d47bd452d..6780a93f9 100755 --- a/smoketest/scripts/cli/test_service_webproxy.py +++ b/smoketest/scripts/cli/test_service_webproxy.py @@ -52,8 +52,6 @@ class TestServiceWebProxy(VyOSUnitTestSHIM.TestCase): self.assertIn(f'access_log /var/log/squid/access.log squid', config) # ACL verification - self.assertIn(f'acl localhost src 127.0.0.1/32', config) - self.assertIn(f'acl to_localhost dst 127.0.0.0/8', config) self.assertIn(f'acl net src all', config) self.assertIn(f'acl SSL_ports port 443', config) @@ -234,8 +232,8 @@ class TestServiceWebProxy(VyOSUnitTestSHIM.TestCase): config = read_file(PROXY_CONF) self.assertIn(f'http_port {listen_ip}:3128 intercept', config) - self.assertIn(f'redirect_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf', config) - self.assertIn(f'redirect_children 8', config) + self.assertIn(f'url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf', config) + self.assertIn(f'url_rewrite_children 8', config) # Check SquidGuard config sg_config = read_file('/etc/squidguard/squidGuard.conf') |