Diff of the two buildlogs: -- --- b1/build.log 2023-04-10 12:34:03.429465055 +0000 +++ b2/build.log 2023-04-10 12:39:02.939489803 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 10 00:29:16 -12 2023 -I: pbuilder-time-stamp: 1681129756 +I: Current time: Mon May 13 08:57:06 +14 2024 +I: pbuilder-time-stamp: 1715540226 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./mapproxy_1.15.1.orig.tar.gz] I: copying [./mapproxy_1.15.1-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Dec 1 00:05:52 2022 -12 +gpgv: Signature made Fri Dec 2 02:05:52 2022 +14 gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./mapproxy_1.15.1-2.dsc: no acceptable signature found @@ -29,11 +29,20 @@ dpkg-source: info: applying mapnik.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4624/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' @@ -43,38 +52,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' - PPID='4624' + PPID='28715' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.k20W7juU/pbuilderrc_fPIs --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.k20W7juU/b1 --logfile b1/build.log mapproxy_1.15.1-2.dsc' + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.k20W7juU/pbuilderrc_qm89 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.k20W7juU/b2 --logfile b2/build.log --extrapackages usrmerge mapproxy_1.15.1-2.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink10-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 7 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4624/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 11 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -467,7 +476,7 @@ Get: 315 http://deb.debian.org/debian bookworm/main arm64 python3-webob all 1:1.8.6-3 [87.8 kB] Get: 316 http://deb.debian.org/debian bookworm/main arm64 python3-webtest all 3.0.0-2 [34.5 kB] Get: 317 http://deb.debian.org/debian bookworm/main arm64 python3-yaml arm64 6.0-3+b2 [108 kB] -Fetched 139 MB in 4s (32.6 MB/s) +Fetched 139 MB in 4s (34.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -1783,8 +1792,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/mapproxy-1.15.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mapproxy_1.15.1-2_source.changes +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/mapproxy-1.15.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mapproxy_1.15.1-2_source.changes dpkg-buildpackage: info: source package mapproxy dpkg-buildpackage: info: source version 1.15.1-2 dpkg-buildpackage: info: source distribution unstable @@ -3157,7 +3175,7 @@ mapproxy/test/unit/test_srs.py ......ssss.................... [ 94%] mapproxy/test/unit/test_tiled_source.py FFF [ 94%] mapproxy/test/unit/test_tilefilter.py . [ 94%] -mapproxy/test/unit/test_times.py F [ 94%] +mapproxy/test/unit/test_times.py . [ 94%] mapproxy/test/unit/test_timeutils.py ..... [ 94%] mapproxy/test/unit/test_util_conf_utils.py ........ [ 95%] mapproxy/test/unit/test_utils.py ....................... [ 96%] @@ -3165,7 +3183,7 @@ mapproxy/test/unit/test_wms_layer.py ..... [ 97%] mapproxy/test/unit/test_yaml.py ..... [ 97%] mapproxy/util/collections.py . [ 97%] -mapproxy/util/times.py .F [ 97%] +mapproxy/util/times.py .. [ 97%] mapproxy/util/ext/local.py .. [ 97%] mapproxy/util/ext/odict.py .. [ 97%] mapproxy/util/ext/dictspec/spec.py ..... [ 98%] @@ -3178,7 +3196,7 @@ ==================================== ERRORS ==================================== __________ ERROR at setup of TestGeopackageCache.test_get_map_cached ___________ -base_dir = local('/tmp/pytest-of-pbuilder1/pytest-0/base_dir9') +base_dir = local('/tmp/pytest-of-pbuilder2/pytest-0/base_dir9') @pytest.fixture(scope="class") def fixture_gpkg(base_dir): @@ -3194,7 +3212,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/build/mapproxy-1.15.1/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/test/system/fixture/cache.gpkg' -dst = '/tmp/pytest-of-pbuilder1/pytest-0/base_dir9/cache.gpkg' +dst = '/tmp/pytest-of-pbuilder2/pytest-0/base_dir9/cache.gpkg' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst in the most efficient way possible. @@ -3232,7 +3250,7 @@ /usr/lib/python3.11/shutil.py:256: FileNotFoundError _________ ERROR at setup of TestGeopackageCache.test_get_map_uncached __________ -base_dir = local('/tmp/pytest-of-pbuilder1/pytest-0/base_dir9') +base_dir = local('/tmp/pytest-of-pbuilder2/pytest-0/base_dir9') @pytest.fixture(scope="class") def fixture_gpkg(base_dir): @@ -3248,7 +3266,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/build/mapproxy-1.15.1/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/test/system/fixture/cache.gpkg' -dst = '/tmp/pytest-of-pbuilder1/pytest-0/base_dir9/cache.gpkg' +dst = '/tmp/pytest-of-pbuilder2/pytest-0/base_dir9/cache.gpkg' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst in the most efficient way possible. @@ -3286,7 +3304,7 @@ /usr/lib/python3.11/shutil.py:256: FileNotFoundError _ ERROR at setup of TestGeopackageCache.test_bad_config_geopackage_no_gpkg_contents _ -base_dir = local('/tmp/pytest-of-pbuilder1/pytest-0/base_dir9') +base_dir = local('/tmp/pytest-of-pbuilder2/pytest-0/base_dir9') @pytest.fixture(scope="class") def fixture_gpkg(base_dir): @@ -3302,7 +3320,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/build/mapproxy-1.15.1/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/test/system/fixture/cache.gpkg' -dst = '/tmp/pytest-of-pbuilder1/pytest-0/base_dir9/cache.gpkg' +dst = '/tmp/pytest-of-pbuilder2/pytest-0/base_dir9/cache.gpkg' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst in the most efficient way possible. @@ -3340,7 +3358,7 @@ /usr/lib/python3.11/shutil.py:256: FileNotFoundError _ ERROR at setup of TestGeopackageCache.test_bad_config_geopackage_no_spatial_ref_sys _ -base_dir = local('/tmp/pytest-of-pbuilder1/pytest-0/base_dir9') +base_dir = local('/tmp/pytest-of-pbuilder2/pytest-0/base_dir9') @pytest.fixture(scope="class") def fixture_gpkg(base_dir): @@ -3356,7 +3374,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/build/mapproxy-1.15.1/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/test/system/fixture/cache.gpkg' -dst = '/tmp/pytest-of-pbuilder1/pytest-0/base_dir9/cache.gpkg' +dst = '/tmp/pytest-of-pbuilder2/pytest-0/base_dir9/cache.gpkg' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst in the most efficient way possible. @@ -3395,7 +3413,7 @@ =================================== FAILURES =================================== ______________ TestUtilWMSCapabilities.test_request_not_parsable _______________ -self = +self = def test_request_not_parsable(self): with mock_httpd( @@ -3422,7 +3440,7 @@ ________________ TestUtilWMSCapabilities.test_service_exception ________________ -self = +self = def test_service_exception(self): self.args = [ @@ -3456,10 +3474,10 @@ _______________ TestUtilWMSCapabilities.test_parse_capabilities ________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -3508,7 +3526,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -3521,7 +3539,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -3576,7 +3594,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -3595,7 +3613,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -3612,7 +3630,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1 HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -3628,7 +3646,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -3639,7 +3657,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -3689,7 +3707,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -3726,7 +3744,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1' data = None, method = None @@ -3752,9 +3770,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -3780,8 +3798,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -3796,13 +3814,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -3816,8 +3834,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -3825,10 +3843,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -3902,7 +3920,7 @@ mapproxy/client/http.py:302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1' data = None, method = None @@ -3943,7 +3961,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -3958,7 +3976,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1' data = None, method = None @@ -3984,9 +4002,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -4012,8 +4030,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -4028,13 +4046,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -4048,8 +4066,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -4057,10 +4075,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -4113,7 +4131,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_capabilities(self): self.args = [ @@ -4164,10 +4182,10 @@ ______________ TestUtilWMSCapabilities.test_parse_130capabilities ______________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -4216,7 +4234,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -4229,7 +4247,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -4284,7 +4302,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -4303,7 +4321,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -4320,7 +4338,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0 HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -4336,7 +4354,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -4347,7 +4365,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -4397,7 +4415,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -4434,7 +4452,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0' data = None, method = None @@ -4460,9 +4478,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -4488,8 +4506,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -4504,13 +4522,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -4524,8 +4542,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -4533,10 +4551,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -4610,7 +4628,7 @@ mapproxy/client/http.py:302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0' data = None, method = None @@ -4651,7 +4669,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -4666,7 +4684,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0' data = None, method = None @@ -4692,9 +4710,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -4720,8 +4738,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -4736,13 +4754,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -4756,8 +4774,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -4765,10 +4783,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -4821,7 +4839,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_130capabilities(self): self.args = [ @@ -4872,7 +4890,7 @@ ____________________ TestUtilWMSCapabilities.test_key_error ____________________ -self = +self = def test_key_error(self): self.args = [ @@ -4901,10 +4919,10 @@ > assert err.getvalue().startswith("XML-Element has no such attribute") E assert False -E + where False = ('XML-Element has no such attribute') -E + where = 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n'.startswith -E + where 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n' = () -E + where = <_io.StringIO object at 0xffff8279e830>.getvalue +E + where False = ('XML-Element has no such attribute') +E + where = 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n'.startswith +E + where 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n' = () +E + where = <_io.StringIO object at 0xffffa626e830>.getvalue mapproxy/test/system/test_util_wms_capabilities.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- @@ -4912,10 +4930,10 @@ _____________________ TestWMSSourceWithClient.test_get_map _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -4964,7 +4982,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -4977,7 +4995,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -5032,7 +5050,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -5051,7 +5069,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -5068,7 +5086,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EP...ccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -5084,7 +5102,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -5095,7 +5113,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -5145,7 +5163,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -5182,7 +5200,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -5208,9 +5226,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -5236,8 +5254,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -5252,13 +5270,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -5272,8 +5290,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -5281,10 +5299,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -5337,7 +5355,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -5352,7 +5370,7 @@ mapproxy/source/wms.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def _get_map(self, query): @@ -5379,7 +5397,7 @@ mapproxy/source/wms.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} format = 'image/png' @@ -5412,7 +5430,7 @@ mapproxy/client/wms.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -5453,7 +5471,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -5468,7 +5486,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -5494,9 +5512,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -5522,8 +5540,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -5538,13 +5556,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -5558,8 +5576,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -5567,10 +5585,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -5623,8 +5641,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map(self, source): with tmp_image((512, 512)) as img: @@ -5664,10 +5682,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -5724,10 +5742,10 @@ WARNING mapproxy.source.wms:wms.py:100 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused _________ TestWMSSourceWithClient.test_get_map_non_image_content_type __________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -5776,7 +5794,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -5789,7 +5807,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -5844,7 +5862,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -5863,7 +5881,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -5880,7 +5898,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EP...ccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -5896,7 +5914,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -5907,7 +5925,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -5957,7 +5975,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -5994,7 +6012,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -6020,9 +6038,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -6048,8 +6066,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -6064,13 +6082,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -6084,8 +6102,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -6093,10 +6111,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -6149,7 +6167,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -6164,7 +6182,7 @@ mapproxy/source/wms.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def _get_map(self, query): @@ -6191,7 +6209,7 @@ mapproxy/source/wms.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} format = 'image/png' @@ -6224,7 +6242,7 @@ mapproxy/client/wms.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -6265,7 +6283,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -6280,7 +6298,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -6306,9 +6324,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -6334,8 +6352,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -6350,13 +6368,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -6370,8 +6388,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -6379,10 +6397,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -6435,8 +6453,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map_non_image_content_type(self, source): with tmp_image((512, 512)) as img: @@ -6452,7 +6470,7 @@ mapproxy/test/unit/test_cache.py:835: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -6481,7 +6499,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = SourceError('No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused') -exc_info = (, HTTPClientError('No response from URL "http://127.0.0.1:56413/service...G%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused'), ) +exc_info = (, HTTPClientError('No response from URL "http://127.0.0.1:56413/service...G%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused'), ) def reraise_exception(new_exc, exc_info): """ @@ -6496,7 +6514,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -6511,7 +6529,7 @@ mapproxy/source/wms.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def _get_map(self, query): @@ -6538,7 +6556,7 @@ mapproxy/source/wms.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} format = 'image/png' @@ -6571,7 +6589,7 @@ mapproxy/client/wms.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -6612,7 +6630,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -6627,7 +6645,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -6653,9 +6671,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -6681,8 +6699,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -6697,13 +6715,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -6717,8 +6735,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -6726,10 +6744,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -6782,8 +6800,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map_non_image_content_type(self, source): with tmp_image((512, 512)) as img: @@ -6807,10 +6825,10 @@ WARNING mapproxy.source.wms:wms.py:100 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused ___________________ TestWMSSourceWithClient.test_basic_auth ____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -6859,7 +6877,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -6872,7 +6890,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -6927,7 +6945,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -6946,7 +6964,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -6963,7 +6981,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EP...ccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -6979,7 +6997,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -6990,7 +7008,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -7040,7 +7058,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -7077,7 +7095,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -7103,9 +7121,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -7131,8 +7149,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -7147,13 +7165,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -7167,8 +7185,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -7176,10 +7194,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -7232,7 +7250,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -7247,7 +7265,7 @@ mapproxy/source/wms.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def _get_map(self, query): @@ -7274,7 +7292,7 @@ mapproxy/source/wms.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} format = 'image/png' @@ -7307,7 +7325,7 @@ mapproxy/client/wms.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -7348,7 +7366,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -7363,7 +7381,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -7389,9 +7407,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -7417,8 +7435,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -7433,13 +7451,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -7453,8 +7471,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -7462,10 +7480,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -7518,10 +7536,10 @@ During handling of the above exception, another exception occurred: -self = +self = req_template = WMS111MapRequest(param=WMSMapRequestParams(param=NoCaseMultiDict([('format', ['image/png']), ('layers', ['foo'])])), url='http://127.0.0.1:56413/service?') -client = -source = +client = +source = def test_basic_auth(self, req_template, client, source): http_client = HTTPClient(req_template.url, username='foo', password='bar@') @@ -7570,10 +7588,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -7630,10 +7648,10 @@ WARNING mapproxy.source.wms:wms.py:100 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused _______________ TestWMSSourceWithClient.test_http_error_handler ________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -7682,7 +7700,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -7695,7 +7713,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -7750,7 +7768,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -7769,7 +7787,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -7786,7 +7804,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EP...ccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -7802,7 +7820,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -7813,7 +7831,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -7863,7 +7881,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -7900,7 +7918,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -7926,9 +7944,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -7954,8 +7972,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -7970,13 +7988,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -7990,8 +8008,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -7999,10 +8017,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -8055,7 +8073,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -8070,7 +8088,7 @@ mapproxy/source/wms.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def _get_map(self, query): @@ -8097,7 +8115,7 @@ mapproxy/source/wms.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} format = 'image/png' @@ -8130,7 +8148,7 @@ mapproxy/client/wms.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -8171,7 +8189,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -8186,7 +8204,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -8212,9 +8230,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -8240,8 +8258,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -8256,13 +8274,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -8276,8 +8294,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -8285,10 +8303,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -8341,8 +8359,8 @@ During handling of the above exception, another exception occurred: -self = -client = +self = +client = def test_http_error_handler(self, client): error_handler = HTTPSourceErrorHandler() @@ -8407,10 +8425,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -8467,7 +8485,7 @@ WARNING mapproxy.source.wms:wms.py:100 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused _________ TestGeopackageCacheInitErrors.test_bad_config_geopackage_srs _________ -self = +self = def test_bad_config_geopackage_srs(self): error_msg = None @@ -8486,7 +8504,7 @@ mapproxy/test/unit/test_cache_geopackage.py:197: AssertionError ________ TestGeopackageCacheInitErrors.test_bad_config_geopackage_tile _________ -self = +self = def test_bad_config_geopackage_tile(self): error_msg = None @@ -8505,7 +8523,7 @@ mapproxy/test/unit/test_cache_geopackage.py:209: AssertionError _________ TestGeopackageCacheInitErrors.test_bad_config_geopackage_res _________ -self = +self = def test_bad_config_geopackage_res(self): error_msg = None @@ -8524,10 +8542,10 @@ mapproxy/test/unit/test_cache_geopackage.py:221: AssertionError ___________________________ TestHTTPClient.test_post ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -8576,7 +8594,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'POST' +self = , method = 'POST' url = 'http://127.0.0.1:56413/service', body = b'foo=bar' headers = {'Connection': 'close', 'Content-Length': '7', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:56413', ...} @@ -8588,7 +8606,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'POST' +self = , method = 'POST' url = 'http://127.0.0.1:56413/service', body = b'foo=bar' headers = {'Connection': 'close', 'Content-Length': '7', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:56413', ...} encode_chunked = False @@ -8642,7 +8660,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = b'foo=bar' def endheaders(self, message_body=None, *, encode_chunked=False): @@ -8661,7 +8679,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = b'foo=bar', encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -8678,7 +8696,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'POST http://127.0.0.1:56413/service HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-Type: application/x-www-form-ur...ded\r\nContent-Length: 7\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -8694,7 +8712,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -8705,7 +8723,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -8755,7 +8773,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -8792,7 +8810,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service', data = b'foo=bar', method = None def open(self, url, data=None, method=None): @@ -8817,9 +8835,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -8845,8 +8863,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -8861,13 +8879,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -8881,8 +8899,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -8890,10 +8908,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -8946,7 +8964,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_post(self): with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/service?foo=bar', 'method': 'POST'}, @@ -8971,10 +8989,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -9029,10 +9047,10 @@ ___________________________ TestHTTPClient.test_head ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -9081,7 +9099,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'HEAD' +self = , method = 'HEAD' url = 'http://127.0.0.1:56413/service', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -9093,7 +9111,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'HEAD' +self = , method = 'HEAD' url = 'http://127.0.0.1:56413/service', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -9147,7 +9165,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -9166,7 +9184,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -9183,7 +9201,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'HEAD http://127.0.0.1:56413/service HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -9199,7 +9217,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -9210,7 +9228,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -9260,7 +9278,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -9297,7 +9315,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service', data = None, method = 'HEAD' def open(self, url, data=None, method=None): @@ -9322,9 +9340,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -9350,8 +9368,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -9366,13 +9384,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -9386,8 +9404,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -9395,10 +9413,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -9451,7 +9469,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.skipif(sys.version_info < (3,), reason='HEAD request not supported by BaseHTTPRequestHandler in Py 2') def test_head(self): @@ -9477,10 +9495,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -9535,10 +9553,10 @@ _________________ TestHTTPClient.test_internal_error_response __________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -9587,7 +9605,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -9599,7 +9617,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -9653,7 +9671,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -9672,7 +9690,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -9689,7 +9707,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/ HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -9705,7 +9723,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -9716,7 +9734,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -9766,7 +9784,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -9803,7 +9821,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -9828,9 +9846,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -9856,8 +9874,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -9872,13 +9890,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -9892,8 +9910,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -9901,10 +9919,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -9957,7 +9975,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -9968,7 +9986,7 @@ mapproxy/test/unit/test_client.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10008,7 +10026,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -10023,7 +10041,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10048,9 +10066,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -10076,8 +10094,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -10092,13 +10110,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -10112,8 +10130,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -10121,10 +10139,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -10177,7 +10195,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -10211,10 +10229,10 @@ ____________ TestHTTPClient.test_internal_error_hide_error_details _____________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -10263,7 +10281,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -10275,7 +10293,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -10329,7 +10347,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -10348,7 +10366,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -10365,7 +10383,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/ HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -10381,7 +10399,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -10392,7 +10410,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -10442,7 +10460,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -10479,7 +10497,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10504,9 +10522,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -10532,8 +10550,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -10548,13 +10566,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -10568,8 +10586,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -10577,10 +10595,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -10633,7 +10651,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -10644,7 +10662,7 @@ mapproxy/test/unit/test_client.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10684,7 +10702,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL (see logs for URL and reason).') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -10699,7 +10717,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10724,9 +10742,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -10752,8 +10770,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -10768,13 +10786,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -10788,8 +10806,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -10797,10 +10815,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -10853,7 +10871,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -10887,11 +10905,11 @@ ___________________ TestHTTPClient.test_https_untrusted_root ___________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -10941,7 +10959,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} @@ -10953,7 +10971,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -11007,7 +11025,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -11026,7 +11044,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -11043,7 +11061,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: untrusted-root.badssl.com\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -11059,7 +11077,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): "Connect to a host on a given (SSL) port." @@ -11069,7 +11087,7 @@ /usr/lib/python3.11/http/client.py:1447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -11080,7 +11098,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11130,7 +11148,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11167,7 +11185,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -11192,9 +11210,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -11220,8 +11238,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -11236,13 +11254,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'https', meth_name = 'https_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -11256,8 +11274,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def https_open(self, req): > return self.do_open(http.client.HTTPSConnection, req, @@ -11266,11 +11284,11 @@ /usr/lib/python3.11/urllib/request.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -11324,7 +11342,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_untrusted_root(self): @@ -11337,7 +11355,7 @@ mapproxy/test/unit/test_client.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -11377,7 +11395,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "https://untrusted-root.badssl.com/": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -11392,7 +11410,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -11417,9 +11435,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -11445,8 +11463,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -11461,13 +11479,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'https', meth_name = 'https_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -11481,8 +11499,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def https_open(self, req): > return self.do_open(http.client.HTTPSConnection, req, @@ -11491,11 +11509,11 @@ /usr/lib/python3.11/urllib/request.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -11549,7 +11567,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_untrusted_root(self): @@ -11582,11 +11600,11 @@ mapproxy/test/helper.py:142: AssertionError ______________________ TestHTTPClient.test_https_insecure ______________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -11636,7 +11654,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} @@ -11648,7 +11666,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -11702,7 +11720,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -11721,7 +11739,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -11738,7 +11756,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: untrusted-root.badssl.com\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -11754,7 +11772,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): "Connect to a host on a given (SSL) port." @@ -11764,7 +11782,7 @@ /usr/lib/python3.11/http/client.py:1447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -11775,7 +11793,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11825,7 +11843,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11862,7 +11880,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -11887,9 +11905,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -11915,8 +11933,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -11931,13 +11949,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'https', meth_name = 'https_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -11951,8 +11969,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def https_open(self, req): > return self.do_open(http.client.HTTPSConnection, req, @@ -11961,11 +11979,11 @@ /usr/lib/python3.11/urllib/request.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -12019,7 +12037,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_insecure(self): @@ -12045,11 +12063,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -12102,11 +12120,11 @@ /usr/lib/python3.11/urllib/request.py:1351: HTTPClientError _________________ TestHTTPClient.test_https_valid_ca_cert_file _________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -12156,7 +12174,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} @@ -12168,7 +12186,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -12222,7 +12240,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -12241,7 +12259,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -12258,7 +12276,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: www.google.com\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -12274,7 +12292,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): "Connect to a host on a given (SSL) port." @@ -12284,7 +12302,7 @@ /usr/lib/python3.11/http/client.py:1447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -12295,7 +12313,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -12345,7 +12363,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -12382,7 +12400,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://www.google.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -12407,9 +12425,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -12435,8 +12453,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -12451,13 +12469,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'https', meth_name = 'https_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -12471,8 +12489,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def https_open(self, req): > return self.do_open(http.client.HTTPSConnection, req, @@ -12481,11 +12499,11 @@ /usr/lib/python3.11/urllib/request.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -12539,7 +12557,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_valid_ca_cert_file(self): @@ -12567,11 +12585,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -12624,11 +12642,11 @@ /usr/lib/python3.11/urllib/request.py:1351: HTTPClientError _________________ TestHTTPClient.test_https_valid_default_cert _________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -12678,7 +12696,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} @@ -12690,7 +12708,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -12744,7 +12762,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -12763,7 +12781,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -12780,7 +12798,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: www.google.com\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -12796,7 +12814,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): "Connect to a host on a given (SSL) port." @@ -12806,7 +12824,7 @@ /usr/lib/python3.11/http/client.py:1447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -12817,7 +12835,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -12867,7 +12885,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -12904,7 +12922,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://www.google.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -12929,9 +12947,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -12957,8 +12975,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -12973,13 +12991,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'https', meth_name = 'https_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -12993,8 +13011,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def https_open(self, req): > return self.do_open(http.client.HTTPSConnection, req, @@ -13003,11 +13021,11 @@ /usr/lib/python3.11/urllib/request.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -13061,7 +13079,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_valid_default_cert(self): @@ -13089,11 +13107,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -13146,11 +13164,11 @@ /usr/lib/python3.11/urllib/request.py:1351: HTTPClientError ____________________ TestHTTPClient.test_https_invalid_cert ____________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -13200,7 +13218,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} @@ -13212,7 +13230,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = '/', body = None headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -13266,7 +13284,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -13285,7 +13303,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -13302,7 +13320,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: untrusted-root.badssl.com\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -13318,7 +13336,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): "Connect to a host on a given (SSL) port." @@ -13328,7 +13346,7 @@ /usr/lib/python3.11/http/client.py:1447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -13339,7 +13357,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -13389,7 +13407,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -13426,7 +13444,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -13451,9 +13469,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -13479,8 +13497,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -13495,13 +13513,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'https', meth_name = 'https_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -13515,8 +13533,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def https_open(self, req): > return self.do_open(http.client.HTTPSConnection, req, @@ -13525,11 +13543,11 @@ /usr/lib/python3.11/urllib/request.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -13583,7 +13601,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_invalid_cert(self): @@ -13599,7 +13617,7 @@ mapproxy/test/unit/test_client.py:159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -13639,7 +13657,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "https://untrusted-root.badssl.com/": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -13654,7 +13672,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -13679,9 +13697,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -13707,8 +13725,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -13723,13 +13741,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'https', meth_name = 'https_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -13743,8 +13761,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def https_open(self, req): > return self.do_open(http.client.HTTPSConnection, req, @@ -13753,11 +13771,11 @@ /usr/lib/python3.11/urllib/request.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -13811,7 +13829,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_invalid_cert(self): @@ -13847,10 +13865,10 @@ mapproxy/test/helper.py:142: AssertionError _________________________ TestHTTPClient.test_timeouts _________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -13899,7 +13917,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -13911,7 +13929,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -13965,7 +13983,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -13984,7 +14002,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -14001,7 +14019,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/ HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -14017,7 +14035,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -14113,7 +14131,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -14136,8 +14154,8 @@ mapproxy/client/http.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None +self = +fullurl = , data = None timeout = 0.1 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): @@ -14164,8 +14182,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -14180,13 +14198,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -14200,8 +14218,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -14209,10 +14227,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14265,7 +14283,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_timeouts(self): test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.9) or True}, @@ -14283,7 +14301,7 @@ mapproxy/test/unit/test_client.py:174: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -14323,7 +14341,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -14338,7 +14356,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -14361,8 +14379,8 @@ mapproxy/client/http.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None +self = +fullurl = , data = None timeout = 0.1 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): @@ -14389,8 +14407,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -14405,13 +14423,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -14425,8 +14443,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -14434,10 +14452,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14490,7 +14508,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_timeouts(self): test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.9) or True}, @@ -14514,10 +14532,10 @@ ____________________ TestHTTPClient.test_manage_cookies_off ____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14566,7 +14584,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -14578,7 +14596,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -14632,7 +14650,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -14651,7 +14669,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -14668,7 +14686,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/ HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -14684,7 +14702,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -14695,7 +14713,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -14745,7 +14763,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -14782,7 +14800,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -14807,9 +14825,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -14835,8 +14853,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -14851,13 +14869,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -14871,8 +14889,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -14880,10 +14898,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14936,7 +14954,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_off(self): """ @@ -14978,10 +14996,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15036,10 +15054,10 @@ ____________________ TestHTTPClient.test_manage_cookies_on _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15088,7 +15106,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -15100,7 +15118,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -15154,7 +15172,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -15173,7 +15191,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -15190,7 +15208,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/ HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -15206,7 +15224,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -15217,7 +15235,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -15267,7 +15285,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -15304,7 +15322,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -15329,9 +15347,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -15357,8 +15375,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -15373,13 +15391,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -15393,8 +15411,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -15402,10 +15420,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15458,7 +15476,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_on(self): """ @@ -15508,10 +15526,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15566,10 +15584,10 @@ _________________________ TestTileClient.test_tc_path __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15618,7 +15636,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/09/000/000/005/000/000/013.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -15630,7 +15648,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/09/000/000/005/000/000/013.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -15684,7 +15702,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -15703,7 +15721,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -15720,7 +15738,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/09/000/000/005/000/000/013.png HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -15736,7 +15754,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -15747,7 +15765,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -15797,7 +15815,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -15834,7 +15852,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/09/000/000/005/000/000/013.png', data = None method = None @@ -15860,9 +15878,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -15888,8 +15906,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -15904,13 +15922,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -15924,8 +15942,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -15933,10 +15951,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15989,7 +16007,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_tc_path(self): template = TileURLTemplate(TESTSERVER_URL + '/%(tc_path)s.png') @@ -16023,10 +16041,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16081,10 +16099,10 @@ _________________________ TestTileClient.test_quadkey __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16133,7 +16151,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/key=000002303&format=png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -16145,7 +16163,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/key=000002303&format=png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -16199,7 +16217,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -16218,7 +16236,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -16235,7 +16253,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/key=000002303&format=png HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -16251,7 +16269,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -16262,7 +16280,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -16312,7 +16330,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -16349,7 +16367,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/key=000002303&format=png', data = None method = None @@ -16375,9 +16393,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -16403,8 +16421,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -16419,13 +16437,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -16439,8 +16457,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -16448,10 +16466,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16504,7 +16522,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_quadkey(self): template = TileURLTemplate(TESTSERVER_URL + '/key=%(quadkey)s&format=%(format)s') @@ -16538,10 +16556,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16596,10 +16614,10 @@ ___________________________ TestTileClient.test_xyz ____________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16648,7 +16666,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/x=5&y=13&z=9&format=png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -16660,7 +16678,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/x=5&y=13&z=9&format=png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -16714,7 +16732,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -16733,7 +16751,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -16750,7 +16768,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/x=5&y=13&z=9&format=png HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -16766,7 +16784,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -16777,7 +16795,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -16827,7 +16845,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -16864,7 +16882,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/x=5&y=13&z=9&format=png', data = None method = None @@ -16890,9 +16908,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -16918,8 +16936,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -16934,13 +16952,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -16954,8 +16972,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -16963,10 +16981,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17019,7 +17037,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_xyz(self): template = TileURLTemplate(TESTSERVER_URL + '/x=%(x)s&y=%(y)s&z=%(z)s&format=%(format)s') @@ -17053,10 +17071,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17111,10 +17129,10 @@ _____________________ TestTileClient.test_arcgiscache_path _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17163,7 +17181,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/L09/R0000000d/C00000005.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -17175,7 +17193,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/L09/R0000000d/C00000005.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -17229,7 +17247,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -17248,7 +17266,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -17265,7 +17283,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/L09/R0000000d/C00000005.png HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -17281,7 +17299,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -17292,7 +17310,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -17342,7 +17360,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -17379,7 +17397,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/L09/R0000000d/C00000005.png', data = None method = None @@ -17405,9 +17423,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -17433,8 +17451,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -17449,13 +17467,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -17469,8 +17487,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -17478,10 +17496,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17534,7 +17552,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_arcgiscache_path(self): template = TileURLTemplate(TESTSERVER_URL + '/%(arcgiscache_path)s.png') @@ -17568,10 +17586,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17626,10 +17644,10 @@ ___________________________ TestTileClient.test_bbox ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17678,7 +17696,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?BBOX=-180.00000000,0.00000000,-90.00000000,90.00000000' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -17691,7 +17709,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?BBOX=-180.00000000,0.00000000,-90.00000000,90.00000000' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -17746,7 +17764,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -17765,7 +17783,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -17782,7 +17800,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?BBOX=-180.00000000,0.00000000,-90.00000000,90.00000000 HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -17798,7 +17816,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -17809,7 +17827,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -17859,7 +17877,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -17896,7 +17914,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?BBOX=-180.00000000,0.00000000,-90.00000000,90.00000000' data = None, method = None @@ -17922,9 +17940,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -17950,8 +17968,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -17966,13 +17984,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -17986,8 +18004,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -17995,10 +18013,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -18051,7 +18069,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_bbox(self): grid = tile_grid(4326) @@ -18086,10 +18104,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -18144,10 +18162,10 @@ _________________________ TestWMSClient.test_no_image __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -18196,7 +18214,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?map=foo&layers=foo&transparent=true&bbox=-200000,-200000,200000,200000&width=512&height=512&srs=EPSG%3A900913&format=image%2Fpng&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -18209,7 +18227,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/service?map=foo&layers=foo&transparent=true&bbox=-200000,-200000,200000,200000&width=512&height=512&srs=EPSG%3A900913&format=image%2Fpng&request=GetMap&version=1.1.1&service=WMS&styles=' body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -18264,7 +18282,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -18283,7 +18301,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -18300,7 +18318,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/service?map=foo&layers=foo&transparent=true&bbox=-200000,-200000,200000,200000&width=512&...ccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -18316,7 +18334,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -18327,7 +18345,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -18377,7 +18395,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -18414,7 +18432,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?map=foo&layers=foo&transparent=true&bbox=-200000,-200000,200000,200000&width=512&height=512&srs=EPSG%3A900913&format=image%2Fpng&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -18440,9 +18458,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -18468,8 +18486,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -18484,13 +18502,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -18504,8 +18522,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -18513,10 +18531,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -18569,8 +18587,8 @@ During handling of the above exception, another exception occurred: -self = -caplog = <_pytest.logging.LogCaptureFixture object at 0xffff822f2290> +self = +caplog = <_pytest.logging.LogCaptureFixture object at 0xffffa1372fd0> def test_no_image(self, caplog): try: @@ -18603,10 +18621,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -18661,8 +18679,8 @@ _______________________ TestOGRShapeReader.test_read_all _______________________ -self = -readers = [, ] +self = +readers = [, ] def test_read_all(self, readers): for reader in readers: @@ -18674,7 +18692,7 @@ if not self._ds: self.open() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def open(self): if self._ds: return @@ -18691,8 +18709,8 @@ mapproxy/util/ogr.py:95: OGRShapeReaderError _____________________ TestOGRShapeReader.test_read_filter ______________________ -self = -readers = [, ] +self = +readers = [, ] def test_read_filter(self, readers): for reader in readers: @@ -18704,7 +18722,7 @@ if not self._ds: self.open() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def open(self): if self._ds: return @@ -18721,8 +18739,8 @@ mapproxy/util/ogr.py:95: OGRShapeReaderError _________________ TestOGRShapeReader.test_read_filter_no_match _________________ -self = -readers = [, ] +self = +readers = [, ] def test_read_filter_no_match(self, readers): for reader in readers: @@ -18734,7 +18752,7 @@ if not self._ds: self.open() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def open(self): if self._ds: return @@ -18751,10 +18769,10 @@ mapproxy/util/ogr.py:95: OGRShapeReaderError ________________ TestTileClientOnError.test_cacheable_response _________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -18803,7 +18821,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/1/0/0.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -18815,7 +18833,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/1/0/0.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -18869,7 +18887,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -18888,7 +18906,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -18905,7 +18923,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/1/0/0.png HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -18921,7 +18939,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -18932,7 +18950,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -18982,7 +19000,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -19019,7 +19037,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -19044,9 +19062,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -19072,8 +19090,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -19088,13 +19106,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -19108,8 +19126,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -19117,10 +19135,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19173,7 +19191,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -19249,7 +19267,7 @@ mapproxy/client/http.py:302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -19289,7 +19307,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -19304,7 +19322,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -19329,9 +19347,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -19357,8 +19375,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -19373,13 +19391,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -19393,8 +19411,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -19402,10 +19420,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19458,7 +19476,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_cacheable_response(self): error_handler = HTTPSourceErrorHandler() @@ -19512,10 +19530,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19572,10 +19590,10 @@ WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused __________________ TestTileClientOnError.test_image_response ___________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19624,7 +19642,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/1/0/0.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -19636,7 +19654,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/1/0/0.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -19690,7 +19708,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -19709,7 +19727,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -19726,7 +19744,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/1/0/0.png HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -19742,7 +19760,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -19753,7 +19771,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -19803,7 +19821,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -19840,7 +19858,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -19865,9 +19883,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -19893,8 +19911,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -19909,13 +19927,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -19929,8 +19947,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -19938,10 +19956,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19994,7 +20012,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -20070,7 +20088,7 @@ mapproxy/client/http.py:302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -20110,7 +20128,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -20125,7 +20143,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -20150,9 +20168,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -20178,8 +20196,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -20194,13 +20212,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -20214,8 +20232,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -20223,10 +20241,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20279,7 +20297,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_image_response(self): error_handler = HTTPSourceErrorHandler() @@ -20333,10 +20351,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20393,10 +20411,10 @@ WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused _____________ TestTileClientOnError.test_multiple_image_responses ______________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20445,7 +20463,7 @@ /usr/lib/python3.11/urllib/request.py:1348: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/1/0/0.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} @@ -20457,7 +20475,7 @@ /usr/lib/python3.11/http/client.py:1282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , method = 'GET' +self = , method = 'GET' url = 'http://127.0.0.1:56413/1/0/0.png', body = None headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} encode_chunked = False @@ -20511,7 +20529,7 @@ /usr/lib/python3.11/http/client.py:1328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None def endheaders(self, message_body=None, *, encode_chunked=False): @@ -20530,7 +20548,7 @@ /usr/lib/python3.11/http/client.py:1277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = message_body = None, encode_chunked = False def _send_output(self, message_body=None, encode_chunked=False): @@ -20547,7 +20565,7 @@ /usr/lib/python3.11/http/client.py:1037: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = data = b'GET http://127.0.0.1:56413/1/0/0.png HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 127.0.0.1:56413\r\nUser-Agent: MapProxy-unknown_version\r\nConnection: close\r\n\r\n' def send(self, data): @@ -20563,7 +20581,7 @@ /usr/lib/python3.11/http/client.py:975: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect(self): """Connect to the host and port specified in __init__.""" @@ -20574,7 +20592,7 @@ /usr/lib/python3.11/http/client.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -20624,7 +20642,7 @@ /usr/lib/python3.11/socket.py:851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -20661,7 +20679,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -20686,9 +20704,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -20714,8 +20732,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -20730,13 +20748,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -20750,8 +20768,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -20759,10 +20777,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20815,7 +20833,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -20891,7 +20909,7 @@ mapproxy/client/http.py:302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -20931,7 +20949,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ new_exc = HTTPClientError('No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused') -exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) +exc_info = (, URLError(ConnectionRefusedError(111, 'Connection refused')), ) def reraise_exception(new_exc, exc_info): """ @@ -20946,7 +20964,7 @@ mapproxy/util/py.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -20971,9 +20989,9 @@ mapproxy/client/http.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -fullurl = , data = None -timeout = +self = +fullurl = , data = None +timeout = def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object @@ -20999,8 +21017,8 @@ /usr/lib/python3.11/urllib/request.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = , data = None +self = +req = , data = None def _open(self, req, data=None): result = self._call_chain(self.handle_open, 'default', @@ -21015,13 +21033,13 @@ /usr/lib/python3.11/urllib/request.py:536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -chain = {'data': [], 'file': [, ], ...} +self = +chain = {'data': [], 'file': [, ], ...} kind = 'http', meth_name = 'http_open' -args = (,) -handlers = [, ] -handler = -func = > +args = (,) +handlers = [, ] +handler = +func = > def _call_chain(self, chain, kind, meth_name, *args): # Handlers raise an exception if no one else should try to handle @@ -21035,8 +21053,8 @@ /usr/lib/python3.11/urllib/request.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = def http_open(self, req): > return self.do_open(http.client.HTTPConnection, req) @@ -21044,10 +21062,10 @@ /usr/lib/python3.11/urllib/request.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21100,7 +21118,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_multiple_image_responses(self): error_handler = HTTPSourceErrorHandler() @@ -21164,10 +21182,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21222,25 +21240,6 @@ ------------------------------ Captured log call ------------------------------- WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused -_________________________ test_timestamp_from_isodate __________________________ - - def test_timestamp_from_isodate(): - ts = timestamp_from_isodate("2009-06-09T10:57:00") -> assert (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -E assert 1244588220.0 < (1244537820.0 + (14 * 3600)) - -mapproxy/test/unit/test_times.py:22: AssertionError -_____________ [doctest] mapproxy.util.times.timestamp_from_isodate _____________ -061 -062 >>> ts = timestamp_from_isodate('2009-06-09T10:57:00') -063 >>> # we don't know which timezone the test will run -064 >>> (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -Expected: - True -Got: - False - -/build/mapproxy-1.15.1/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/util/times.py:64: DocTestFailure =============================== warnings summary =============================== mapproxy/srs.py:86 /build/mapproxy-1.15.1/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/srs.py:86: DeprecationWarning: calling un-configured base_config @@ -28532,13 +28531,11 @@ FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_cacheable_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_image_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_multiple_image_responses -FAILED mapproxy/test/unit/test_times.py::test_timestamp_from_isodate - assert... -FAILED mapproxy/util/times.py::mapproxy.util.times.timestamp_from_isodate ERROR mapproxy/test/system/test_cache_geopackage.py::TestGeopackageCache::test_get_map_cached ERROR mapproxy/test/system/test_cache_geopackage.py::TestGeopackageCache::test_get_map_uncached ERROR mapproxy/test/system/test_cache_geopackage.py::TestGeopackageCache::test_bad_config_geopackage_no_gpkg_contents ERROR mapproxy/test/system/test_cache_geopackage.py::TestGeopackageCache::test_bad_config_geopackage_no_spatial_ref_sys -= 38 failed, 1599 passed, 98 skipped, 2 xfailed, 1093 warnings, 4 errors in 130.14s (0:02:10) = += 36 failed, 1601 passed, 98 skipped, 2 xfailed, 1093 warnings, 4 errors in 131.80s (0:02:11) = E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /build/mapproxy-1.15.1/.pybuild/cpython3_3.11_mapproxy/build; python3.11 -m pytest dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13 Ignoring test failures @@ -30198,8 +30195,8 @@ make[1]: Leaving directory '/build/mapproxy-1.15.1' dh_installdocs -O--buildsystem=pybuild dh_sphinxdoc -O--buildsystem=pybuild -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/js/jquery-fix.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/bootstrap-sphinx.js +dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/js/jquery-fix.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/js/jquery-1.12.4.min.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/bootstrap-3.4.1/js/bootstrap.min.js dh_installchangelogs -O--buildsystem=pybuild @@ -30219,9 +30216,9 @@ dpkg-gencontrol: warning: package mapproxy-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'mapproxy' in '../mapproxy_1.15.1-2_all.deb'. -dpkg-deb: building package 'python3-mapproxy' in '../python3-mapproxy_1.15.1-2_all.deb'. dpkg-deb: building package 'mapproxy-doc' in '../mapproxy-doc_1.15.1-2_all.deb'. +dpkg-deb: building package 'python3-mapproxy' in '../python3-mapproxy_1.15.1-2_all.deb'. +dpkg-deb: building package 'mapproxy' in '../mapproxy_1.15.1-2_all.deb'. dpkg-genbuildinfo --build=binary -O../mapproxy_1.15.1-2_arm64.buildinfo dpkg-genchanges --build=binary -O../mapproxy_1.15.1-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -30229,12 +30226,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28715/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/4624 and its subdirectories -I: Current time: Mon Apr 10 00:34:02 -12 2023 -I: pbuilder-time-stamp: 1681130042 +I: removing directory /srv/workspace/pbuilder/28715 and its subdirectories +I: Current time: Mon May 13 09:02:01 +14 2024 +I: pbuilder-time-stamp: 1715540521