diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-09-10 15:32:35 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-09-10 16:03:13 +0000 |
commit | f36fe0fbd65f4992c867873698b921745bfc8f91 (patch) | |
tree | 6bc7d1b311fe9b437e6b2455d973792f0f133844 /smoketest/scripts | |
parent | c3e585ebd53a9e61303ffd7c13289ce328badb3d (diff) | |
download | vyos-1x-f36fe0fbd65f4992c867873698b921745bfc8f91.tar.gz vyos-1x-f36fe0fbd65f4992c867873698b921745bfc8f91.zip |
squid: squidguard: T3810: Fix template for sourcre-group and rule
Modify template for squid
Replace old directives to actual
Diffstat (limited to 'smoketest/scripts')
-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') |