0s autopkgtest [15:18:09]: starting date and time: 2024-11-09 15:18:09+0000 0s autopkgtest [15:18:09]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [15:18:09]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.pdzh_nf6/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:wtforms --apt-upgrade wtforms-components --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=wtforms/3.2.1-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-40.secgroup --name adt-plucky-arm64-wtforms-components-20241109-151809-juju-7f2275-prod-proposed-migration-environment-15-83d19cd8-af9d-4331-a802-668717805f37 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 122s autopkgtest [15:20:11]: testbed dpkg architecture: arm64 122s autopkgtest [15:20:11]: testbed apt version: 2.9.8 122s autopkgtest [15:20:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 123s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 124s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 124s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 124s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 124s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1004 kB] 125s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [144 kB] 126s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 126s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [725 kB] 127s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 127s Fetched 2141 kB in 4s (565 kB/s) 127s Reading package lists... 129s Reading package lists... 130s Building dependency tree... 130s Reading state information... 130s Calculating upgrade... 131s The following NEW packages will be installed: 131s systemd-cryptsetup 131s The following packages will be upgraded: 131s base-passwd bash-completion libattr1 libbpf1 libbsd0 libbytesize-common 131s libbytesize1 libdrm-common libdrm2 libjson-glib-1.0-0 131s libjson-glib-1.0-common libmaxminddb0 libmnl0 libnghttp2-14 libnspr4 131s libnss-systemd libpam-systemd libpython3.12-minimal libpython3.12-stdlib 131s libpython3.12t64 libsystemd-shared libsystemd0 libudev1 libudisks2-0 131s liburcu8t64 linux-firmware openssh-client openssh-server openssh-sftp-server 131s pci.ids python3-gi python3-idna python3-jsonpatch python3-lazr.restfulclient 131s python3-urllib3 python3-wadllib python3.12 python3.12-gdbm 131s python3.12-minimal systemd systemd-resolved systemd-sysv systemd-timesyncd 131s udev udisks2 usbutils 131s 46 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 131s Need to get 557 MB of archives. 131s After this operation, 27.2 MB of additional disk space will be used. 131s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.5 [53.5 kB] 131s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12t64 arm64 3.12.7-2 [2312 kB] 135s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.7-2 [661 kB] 136s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-stdlib arm64 3.12.7-2 [2048 kB] 138s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.7-2 [2233 kB] 141s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-minimal arm64 3.12.7-2 [833 kB] 143s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss-systemd arm64 256.5-2ubuntu4 [162 kB] 143s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-timesyncd arm64 256.5-2ubuntu4 [39.5 kB] 143s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-resolved arm64 256.5-2ubuntu4 [312 kB] 144s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libsystemd-shared arm64 256.5-2ubuntu4 [2152 kB] 147s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libsystemd0 arm64 256.5-2ubuntu4 [446 kB] 147s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-sysv arm64 256.5-2ubuntu4 [11.9 kB] 147s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-systemd arm64 256.5-2ubuntu4 [242 kB] 148s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd arm64 256.5-2ubuntu4 [3356 kB] 152s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 udev arm64 256.5-2ubuntu4 [1950 kB] 155s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libudev1 arm64 256.5-2ubuntu4 [194 kB] 155s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-sftp-server arm64 1:9.7p1-7ubuntu5 [36.7 kB] 155s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-server arm64 1:9.7p1-7ubuntu5 [507 kB] 156s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-client arm64 1:9.7p1-7ubuntu5 [891 kB] 157s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libattr1 arm64 1:2.5.2-2 [11.5 kB] 157s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libbsd0 arm64 0.12.2-2 [41.1 kB] 157s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libbpf1 arm64 1:1.4.6-1 [175 kB] 158s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libmnl0 arm64 1.0.5-3 [12.4 kB] 158s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-gi arm64 3.50.0-3 [241 kB] 158s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.14.0-2 [210 kB] 158s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-common all 2.4.123-1 [8436 B] 158s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm2 arm64 2.4.123-1 [42.2 kB] 158s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libmaxminddb0 arm64 1.11.0-1 [18.7 kB] 158s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libnghttp2-14 arm64 1.64.0-1 [74.5 kB] 158s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 liburcu8t64 arm64 0.14.1-1 [63.5 kB] 158s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 pci.ids all 0.0~2024.10.24-1 [279 kB] 159s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-gdbm arm64 3.12.7-2 [29.8 kB] 159s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 usbutils arm64 1:018-1 [80.9 kB] 159s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libbytesize1 arm64 2.11-1ubuntu1 [13.0 kB] 159s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libbytesize-common all 2.11-1ubuntu1 [3584 B] 159s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-glib-1.0-common all 1.10.0+ds-2 [5502 B] 159s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-glib-1.0-0 arm64 1.10.0+ds-2 [66.4 kB] 159s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libnspr4 arm64 2:4.35-1.1ubuntu2 [116 kB] 159s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 udisks2 arm64 2.10.1-11ubuntu1 [293 kB] 160s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libudisks2-0 arm64 2.10.1-11ubuntu1 [173 kB] 160s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 linux-firmware arm64 20241108.git3bbb13a7-0ubuntu1 [536 MB] 801s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-idna all 3.8-2 [47.0 kB] 801s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jsonpatch all 1.32-4 [12.2 kB] 801s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wadllib all 2.0.0-1 [36.7 kB] 801s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-lazr.restfulclient all 0.14.6-2 [50.9 kB] 801s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-urllib3 all 2.0.7-2ubuntu0.1 [93.1 kB] 802s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-cryptsetup arm64 256.5-2ubuntu4 [117 kB] 802s Preconfiguring packages ... 803s Fetched 557 MB in 11min 11s (830 kB/s) 803s (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 ... 79695 files and directories currently installed.) 803s Preparing to unpack .../base-passwd_3.6.5_arm64.deb ... 803s Unpacking base-passwd (3.6.5) over (3.6.4) ... 803s Setting up base-passwd (3.6.5) ... 803s (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 ... 79696 files and directories currently installed.) 803s Preparing to unpack .../0-libpython3.12t64_3.12.7-2_arm64.deb ... 803s Unpacking libpython3.12t64:arm64 (3.12.7-2) over (3.12.7-1) ... 803s Preparing to unpack .../1-python3.12_3.12.7-2_arm64.deb ... 803s Unpacking python3.12 (3.12.7-2) over (3.12.7-1) ... 804s Preparing to unpack .../2-libpython3.12-stdlib_3.12.7-2_arm64.deb ... 804s Unpacking libpython3.12-stdlib:arm64 (3.12.7-2) over (3.12.7-1) ... 804s Preparing to unpack .../3-python3.12-minimal_3.12.7-2_arm64.deb ... 804s Unpacking python3.12-minimal (3.12.7-2) over (3.12.7-1) ... 804s Preparing to unpack .../4-libpython3.12-minimal_3.12.7-2_arm64.deb ... 804s Unpacking libpython3.12-minimal:arm64 (3.12.7-2) over (3.12.7-1) ... 804s Preparing to unpack .../5-libnss-systemd_256.5-2ubuntu4_arm64.deb ... 804s Unpacking libnss-systemd:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 804s Preparing to unpack .../6-systemd-timesyncd_256.5-2ubuntu4_arm64.deb ... 804s Unpacking systemd-timesyncd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 804s Preparing to unpack .../7-systemd-resolved_256.5-2ubuntu4_arm64.deb ... 804s Unpacking systemd-resolved (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 804s Preparing to unpack .../8-libsystemd-shared_256.5-2ubuntu4_arm64.deb ... 804s Unpacking libsystemd-shared:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 805s Preparing to unpack .../9-libsystemd0_256.5-2ubuntu4_arm64.deb ... 805s Unpacking libsystemd0:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 805s Setting up libsystemd0:arm64 (256.5-2ubuntu4) ... 805s (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 ... 79696 files and directories currently installed.) 805s Preparing to unpack .../systemd-sysv_256.5-2ubuntu4_arm64.deb ... 805s Unpacking systemd-sysv (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 805s Preparing to unpack .../libpam-systemd_256.5-2ubuntu4_arm64.deb ... 805s Unpacking libpam-systemd:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 805s Preparing to unpack .../systemd_256.5-2ubuntu4_arm64.deb ... 805s Unpacking systemd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 805s Preparing to unpack .../udev_256.5-2ubuntu4_arm64.deb ... 805s Unpacking udev (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 806s Preparing to unpack .../libudev1_256.5-2ubuntu4_arm64.deb ... 806s Unpacking libudev1:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 806s Setting up libudev1:arm64 (256.5-2ubuntu4) ... 806s (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 ... 79696 files and directories currently installed.) 806s Preparing to unpack .../openssh-sftp-server_1%3a9.7p1-7ubuntu5_arm64.deb ... 806s Unpacking openssh-sftp-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 806s Preparing to unpack .../openssh-server_1%3a9.7p1-7ubuntu5_arm64.deb ... 806s Unpacking openssh-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 806s Preparing to unpack .../openssh-client_1%3a9.7p1-7ubuntu5_arm64.deb ... 806s Unpacking openssh-client (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 806s Preparing to unpack .../libattr1_1%3a2.5.2-2_arm64.deb ... 806s Unpacking libattr1:arm64 (1:2.5.2-2) over (1:2.5.2-1build2) ... 806s Setting up libattr1:arm64 (1:2.5.2-2) ... 806s (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 ... 79696 files and directories currently installed.) 806s Preparing to unpack .../libbsd0_0.12.2-2_arm64.deb ... 806s Unpacking libbsd0:arm64 (0.12.2-2) over (0.12.2-1) ... 807s Setting up libbsd0:arm64 (0.12.2-2) ... 807s (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 ... 79696 files and directories currently installed.) 807s Preparing to unpack .../00-libbpf1_1%3a1.4.6-1_arm64.deb ... 807s Unpacking libbpf1:arm64 (1:1.4.6-1) over (1:1.4.5-1) ... 807s Preparing to unpack .../01-libmnl0_1.0.5-3_arm64.deb ... 807s Unpacking libmnl0:arm64 (1.0.5-3) over (1.0.5-2build1) ... 807s Preparing to unpack .../02-python3-gi_3.50.0-3_arm64.deb ... 807s Unpacking python3-gi (3.50.0-3) over (3.48.2-1) ... 807s Preparing to unpack .../03-bash-completion_1%3a2.14.0-2_all.deb ... 807s Unpacking bash-completion (1:2.14.0-2) over (1:2.14.0-1) ... 807s Preparing to unpack .../04-libdrm-common_2.4.123-1_all.deb ... 807s Unpacking libdrm-common (2.4.123-1) over (2.4.122-1) ... 807s Preparing to unpack .../05-libdrm2_2.4.123-1_arm64.deb ... 807s Unpacking libdrm2:arm64 (2.4.123-1) over (2.4.122-1) ... 808s Preparing to unpack .../06-libmaxminddb0_1.11.0-1_arm64.deb ... 808s Unpacking libmaxminddb0:arm64 (1.11.0-1) over (1.10.0-1) ... 808s Preparing to unpack .../07-libnghttp2-14_1.64.0-1_arm64.deb ... 808s Unpacking libnghttp2-14:arm64 (1.64.0-1) over (1.62.1-2) ... 808s Preparing to unpack .../08-liburcu8t64_0.14.1-1_arm64.deb ... 808s Unpacking liburcu8t64:arm64 (0.14.1-1) over (0.14.0-4) ... 808s Preparing to unpack .../09-pci.ids_0.0~2024.10.24-1_all.deb ... 808s Unpacking pci.ids (0.0~2024.10.24-1) over (0.0~2024.09.12-1) ... 808s Preparing to unpack .../10-python3.12-gdbm_3.12.7-2_arm64.deb ... 808s Unpacking python3.12-gdbm (3.12.7-2) over (3.12.7-1) ... 808s Preparing to unpack .../11-usbutils_1%3a018-1_arm64.deb ... 808s Unpacking usbutils (1:018-1) over (1:017-3build1) ... 808s Preparing to unpack .../12-libbytesize1_2.11-1ubuntu1_arm64.deb ... 808s Unpacking libbytesize1:arm64 (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 808s Preparing to unpack .../13-libbytesize-common_2.11-1ubuntu1_all.deb ... 808s Unpacking libbytesize-common (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 808s Preparing to unpack .../14-libjson-glib-1.0-common_1.10.0+ds-2_all.deb ... 808s Unpacking libjson-glib-1.0-common (1.10.0+ds-2) over (1.8.0-2build2) ... 808s Preparing to unpack .../15-libjson-glib-1.0-0_1.10.0+ds-2_arm64.deb ... 808s Unpacking libjson-glib-1.0-0:arm64 (1.10.0+ds-2) over (1.8.0-2build2) ... 808s Preparing to unpack .../16-libnspr4_2%3a4.35-1.1ubuntu2_arm64.deb ... 808s Unpacking libnspr4:arm64 (2:4.35-1.1ubuntu2) over (2:4.35-1.1ubuntu1) ... 808s Preparing to unpack .../17-udisks2_2.10.1-11ubuntu1_arm64.deb ... 808s Unpacking udisks2 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 808s Preparing to unpack .../18-libudisks2-0_2.10.1-11ubuntu1_arm64.deb ... 808s Unpacking libudisks2-0:arm64 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 808s Preparing to unpack .../19-linux-firmware_20241108.git3bbb13a7-0ubuntu1_arm64.deb ... 808s Unpacking linux-firmware (20241108.git3bbb13a7-0ubuntu1) over (20240913.gita34e7a5f-0ubuntu2) ... 812s Preparing to unpack .../20-python3-idna_3.8-2_all.deb ... 812s Unpacking python3-idna (3.8-2) over (3.6-2.1) ... 812s Preparing to unpack .../21-python3-jsonpatch_1.32-4_all.deb ... 812s Unpacking python3-jsonpatch (1.32-4) over (1.32-3) ... 812s Preparing to unpack .../22-python3-wadllib_2.0.0-1_all.deb ... 812s Unpacking python3-wadllib (2.0.0-1) over (1.3.6-5) ... 812s Preparing to unpack .../23-python3-lazr.restfulclient_0.14.6-2_all.deb ... 812s Unpacking python3-lazr.restfulclient (0.14.6-2) over (0.14.6-1) ... 812s Preparing to unpack .../24-python3-urllib3_2.0.7-2ubuntu0.1_all.deb ... 812s Unpacking python3-urllib3 (2.0.7-2ubuntu0.1) over (2.0.7-2) ... 812s Selecting previously unselected package systemd-cryptsetup. 812s Preparing to unpack .../25-systemd-cryptsetup_256.5-2ubuntu4_arm64.deb ... 812s Unpacking systemd-cryptsetup (256.5-2ubuntu4) ... 812s Setting up liburcu8t64:arm64 (0.14.1-1) ... 812s Setting up pci.ids (0.0~2024.10.24-1) ... 812s Setting up linux-firmware (20241108.git3bbb13a7-0ubuntu1) ... 812s Setting up openssh-client (1:9.7p1-7ubuntu5) ... 812s Setting up libmaxminddb0:arm64 (1.11.0-1) ... 812s Setting up python3.12-gdbm (3.12.7-2) ... 812s Setting up python3-jsonpatch (1.32-4) ... 813s Setting up libpython3.12-minimal:arm64 (3.12.7-2) ... 813s Setting up libnghttp2-14:arm64 (1.64.0-1) ... 813s Setting up usbutils (1:018-1) ... 813s Setting up libnspr4:arm64 (2:4.35-1.1ubuntu2) ... 813s Setting up bash-completion (1:2.14.0-2) ... 813s Setting up python3-wadllib (2.0.0-1) ... 813s Setting up python3-gi (3.50.0-3) ... 813s Setting up libbytesize-common (2.11-1ubuntu1) ... 813s Setting up libmnl0:arm64 (1.0.5-3) ... 813s Setting up python3-idna (3.8-2) ... 813s Setting up libsystemd-shared:arm64 (256.5-2ubuntu4) ... 813s Setting up python3-urllib3 (2.0.7-2ubuntu0.1) ... 814s Setting up libjson-glib-1.0-common (1.10.0+ds-2) ... 814s Setting up libbytesize1:arm64 (2.11-1ubuntu1) ... 814s Setting up python3-lazr.restfulclient (0.14.6-2) ... 814s Setting up libdrm-common (2.4.123-1) ... 814s Setting up libbpf1:arm64 (1:1.4.6-1) ... 814s Setting up libudisks2-0:arm64 (2.10.1-11ubuntu1) ... 814s Setting up python3.12-minimal (3.12.7-2) ... 815s Setting up openssh-sftp-server (1:9.7p1-7ubuntu5) ... 815s Setting up libpython3.12-stdlib:arm64 (3.12.7-2) ... 815s Setting up openssh-server (1:9.7p1-7ubuntu5) ... 816s Setting up python3.12 (3.12.7-2) ... 818s Setting up systemd (256.5-2ubuntu4) ... 818s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 818s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 818s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 819s Setting up libjson-glib-1.0-0:arm64 (1.10.0+ds-2) ... 819s Setting up libpython3.12t64:arm64 (3.12.7-2) ... 819s Setting up systemd-cryptsetup (256.5-2ubuntu4) ... 819s Setting up systemd-timesyncd (256.5-2ubuntu4) ... 819s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 819s Setting up udev (256.5-2ubuntu4) ... 820s Setting up libdrm2:arm64 (2.4.123-1) ... 820s Setting up systemd-resolved (256.5-2ubuntu4) ... 821s Setting up udisks2 (2.10.1-11ubuntu1) ... 821s Setting up systemd-sysv (256.5-2ubuntu4) ... 821s Setting up libnss-systemd:arm64 (256.5-2ubuntu4) ... 821s Setting up libpam-systemd:arm64 (256.5-2ubuntu4) ... 822s Processing triggers for libc-bin (2.40-1ubuntu3) ... 822s Processing triggers for ufw (0.36.2-8) ... 822s Processing triggers for man-db (2.12.1-3) ... 823s Processing triggers for dbus (1.14.10-4ubuntu5) ... 823s Processing triggers for shared-mime-info (2.4-5) ... 824s Processing triggers for initramfs-tools (0.142ubuntu34) ... 824s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 824s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 842s System running in EFI mode, skipping. 842s Reading package lists... 842s Building dependency tree... 842s Reading state information... 843s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 844s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 844s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 844s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 844s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 844s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [998 kB] 846s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [721 kB] 846s Get:7 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB] 871s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 Packages [1413 kB] 873s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 Packages [15.5 MB] 893s Fetched 39.6 MB in 49s (801 kB/s) 894s Reading package lists... 895s Reading package lists... 895s Building dependency tree... 895s Reading state information... 897s Calculating upgrade... 898s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 898s Reading package lists... 899s Building dependency tree... 899s Reading state information... 901s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 901s autopkgtest [15:33:10]: rebooting testbed after setup commands that affected boot 905s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 927s autopkgtest [15:33:36]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 929s autopkgtest [15:33:38]: @@@@@@@@@@@@@@@@@@@@ apt-source wtforms-components 932s Get:1 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (dsc) [2563 B] 932s Get:2 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (tar) [24.2 kB] 932s Get:3 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (diff) [2920 B] 932s gpgv: Signature made Mon Jul 1 13:54:17 2024 UTC 932s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 932s gpgv: issuer "tchet@debian.org" 932s gpgv: Can't check signature: No public key 932s dpkg-source: warning: cannot verify inline signature for ./wtforms-components_0.10.5-5.dsc: no acceptable signature found 932s autopkgtest [15:33:41]: testing package wtforms-components version 0.10.5-5 932s autopkgtest [15:33:41]: build not needed 932s autopkgtest [15:33:41]: test upstream: preparing testbed 934s Reading package lists... 934s Building dependency tree... 934s Reading state information... 934s Starting pkgProblemResolver with broken count: 0 934s Starting 2 pkgProblemResolver with broken count: 0 934s Done 935s The following additional packages will be installed: 935s libjs-jquery libjs-sphinxdoc libjs-underscore python3-all python3-colour 935s python3-decorator python3-dnspython python3-email-validator python3-flexmock 935s python3-infinity python3-iniconfig python3-intervals python3-packaging 935s python3-pluggy python3-pytest python3-six python3-validators python3-wtforms 935s python3-wtforms-components python3-wtforms-test 935s Suggested packages: 935s python3-trio python3-aioquic python3-h2 python3-httpx python3-httpcore 935s python3-django python3-django-localflavor python3-sqlalchemy 935s Recommended packages: 935s javascript-common 935s The following NEW packages will be installed: 935s autopkgtest-satdep libjs-jquery libjs-sphinxdoc libjs-underscore python3-all 935s python3-colour python3-decorator python3-dnspython python3-email-validator 935s python3-flexmock python3-infinity python3-iniconfig python3-intervals 935s python3-packaging python3-pluggy python3-pytest python3-six 935s python3-validators python3-wtforms python3-wtforms-components 935s python3-wtforms-test 935s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 935s Need to get 1314 kB/1315 kB of archives. 935s After this operation, 5368 kB of additional disk space will be used. 935s Get:1 /tmp/autopkgtest.HSejmP/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [764 B] 935s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 936s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 936s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 7.4.7-3 [157 kB] 936s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 936s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-colour all 0.1.5-4 [22.8 kB] 936s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-decorator all 5.1.1-5 [10.1 kB] 936s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 936s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-email-validator all 2.2.0-1 [28.5 kB] 936s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-flexmock all 0.12.1-1 [20.6 kB] 936s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-infinity all 1.5-3 [3988 B] 936s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 936s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-intervals all 0.9.2-2 [11.6 kB] 936s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 936s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 937s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.2-1 [251 kB] 937s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-six all 1.16.0-7 [13.1 kB] 937s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-validators all 0.20.0-2 [15.2 kB] 937s Get:19 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-wtforms all 3.2.1-1 [64.0 kB] 937s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wtforms-components all 0.10.5-5 [23.7 kB] 937s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wtforms-test all 0.1.1-3 [13.6 kB] 937s Fetched 1314 kB in 2s (776 kB/s) 937s Selecting previously unselected package libjs-jquery. 938s (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 ... 79934 files and directories currently installed.) 938s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 938s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 938s Selecting previously unselected package libjs-underscore. 938s Preparing to unpack .../01-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 938s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 938s Selecting previously unselected package libjs-sphinxdoc. 938s Preparing to unpack .../02-libjs-sphinxdoc_7.4.7-3_all.deb ... 938s Unpacking libjs-sphinxdoc (7.4.7-3) ... 938s Selecting previously unselected package python3-all. 938s Preparing to unpack .../03-python3-all_3.12.6-0ubuntu1_arm64.deb ... 938s Unpacking python3-all (3.12.6-0ubuntu1) ... 938s Selecting previously unselected package python3-colour. 938s Preparing to unpack .../04-python3-colour_0.1.5-4_all.deb ... 938s Unpacking python3-colour (0.1.5-4) ... 938s Selecting previously unselected package python3-decorator. 938s Preparing to unpack .../05-python3-decorator_5.1.1-5_all.deb ... 938s Unpacking python3-decorator (5.1.1-5) ... 938s Selecting previously unselected package python3-dnspython. 938s Preparing to unpack .../06-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 938s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 938s Selecting previously unselected package python3-email-validator. 938s Preparing to unpack .../07-python3-email-validator_2.2.0-1_all.deb ... 938s Unpacking python3-email-validator (2.2.0-1) ... 938s Selecting previously unselected package python3-flexmock. 938s Preparing to unpack .../08-python3-flexmock_0.12.1-1_all.deb ... 938s Unpacking python3-flexmock (0.12.1-1) ... 938s Selecting previously unselected package python3-infinity. 938s Preparing to unpack .../09-python3-infinity_1.5-3_all.deb ... 938s Unpacking python3-infinity (1.5-3) ... 938s Selecting previously unselected package python3-iniconfig. 938s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 938s Unpacking python3-iniconfig (1.1.1-2) ... 938s Selecting previously unselected package python3-intervals. 938s Preparing to unpack .../11-python3-intervals_0.9.2-2_all.deb ... 938s Unpacking python3-intervals (0.9.2-2) ... 938s Selecting previously unselected package python3-packaging. 938s Preparing to unpack .../12-python3-packaging_24.1-1_all.deb ... 938s Unpacking python3-packaging (24.1-1) ... 938s Selecting previously unselected package python3-pluggy. 938s Preparing to unpack .../13-python3-pluggy_1.5.0-1_all.deb ... 938s Unpacking python3-pluggy (1.5.0-1) ... 938s Selecting previously unselected package python3-pytest. 938s Preparing to unpack .../14-python3-pytest_8.3.2-1_all.deb ... 938s Unpacking python3-pytest (8.3.2-1) ... 938s Selecting previously unselected package python3-six. 938s Preparing to unpack .../15-python3-six_1.16.0-7_all.deb ... 938s Unpacking python3-six (1.16.0-7) ... 939s Selecting previously unselected package python3-validators. 939s Preparing to unpack .../16-python3-validators_0.20.0-2_all.deb ... 939s Unpacking python3-validators (0.20.0-2) ... 939s Selecting previously unselected package python3-wtforms. 939s Preparing to unpack .../17-python3-wtforms_3.2.1-1_all.deb ... 939s Unpacking python3-wtforms (3.2.1-1) ... 939s Selecting previously unselected package python3-wtforms-components. 939s Preparing to unpack .../18-python3-wtforms-components_0.10.5-5_all.deb ... 939s Unpacking python3-wtforms-components (0.10.5-5) ... 939s Selecting previously unselected package python3-wtforms-test. 939s Preparing to unpack .../19-python3-wtforms-test_0.1.1-3_all.deb ... 939s Unpacking python3-wtforms-test (0.1.1-3) ... 939s Selecting previously unselected package autopkgtest-satdep. 939s Preparing to unpack .../20-1-autopkgtest-satdep.deb ... 939s Unpacking autopkgtest-satdep (0) ... 939s Setting up python3-iniconfig (1.1.1-2) ... 939s Setting up python3-wtforms (3.2.1-1) ... 939s Setting up python3-all (3.12.6-0ubuntu1) ... 939s Setting up python3-six (1.16.0-7) ... 939s Setting up python3-decorator (5.1.1-5) ... 940s Setting up python3-packaging (24.1-1) ... 940s Setting up python3-colour (0.1.5-4) ... 940s Setting up python3-pluggy (1.5.0-1) ... 940s Setting up python3-infinity (1.5-3) ... 940s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 941s Setting up python3-email-validator (2.2.0-1) ... 941s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 941s Setting up python3-flexmock (0.12.1-1) ... 942s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 942s Setting up python3-intervals (0.9.2-2) ... 942s Setting up python3-validators (0.20.0-2) ... 942s Setting up python3-pytest (8.3.2-1) ... 943s Setting up libjs-sphinxdoc (7.4.7-3) ... 943s Setting up python3-wtforms-components (0.10.5-5) ... 943s Setting up python3-wtforms-test (0.1.1-3) ... 943s Setting up autopkgtest-satdep (0) ... 943s Processing triggers for man-db (2.12.1-3) ... 949s (Reading database ... 80684 files and directories currently installed.) 949s Removing autopkgtest-satdep (0) ... 949s autopkgtest [15:33:58]: test upstream: [----------------------- 950s -=-=-=-=-=-=-=- running tests for python3.12 -=-=-=-=-=-=-=-=- 950s $ python3.12 -m pytest tests 950s ============================= test session starts ============================== 950s platform linux -- Python 3.12.7+, pytest-8.3.2, pluggy-1.5.0 950s rootdir: /tmp/autopkgtest.HSejmP/autopkgtest_tmp 950s plugins: typeguard-4.4.1, flexmock-0.12.1 950s collected 135 items 950s 950s tests/fields/test_color_field.py ..F. [ 2%] 950s tests/fields/test_date_field.py FFFFFF [ 7%] 951s tests/fields/test_date_time_field.py FFFFFF [ 11%] 951s tests/fields/test_date_time_local_field.py FFFFFF [ 16%] 951s tests/fields/test_decimal_field.py FFFFFFF [ 21%] 951s tests/fields/test_int_interval_field.py ..F...F. [ 27%] 951s tests/fields/test_integer_field.py FFFFFF [ 31%] 951s tests/fields/test_json_field.py .. [ 33%] 951s tests/fields/test_passive_hidden_field.py . [ 34%] 951s tests/fields/test_read_only_fields.py . [ 34%] 951s tests/fields/test_search_field.py FFFFF [ 38%] 951s tests/fields/test_select_field.py ...FFFF. [ 44%] 951s tests/fields/test_select_multiple_field.py .F [ 45%] 951s tests/fields/test_split_date_time_field.py FFFF...... [ 53%] 952s tests/fields/test_string_field.py FFFFF [ 57%] 952s tests/fields/test_time_field.py FFFFF..FFFFFFF..FF [ 70%] 952s tests/test_chain_validator.py . [ 71%] 952s tests/test_date_range_validator.py ... [ 73%] 952s tests/test_email_validator.py ......................... [ 91%] 952s tests/test_if_validator.py ... [ 94%] 952s tests/test_read_only_function.py ... [ 96%] 952s tests/test_time_range_validator.py ... [ 98%] 952s tests/test_widgets.py .. [100%] 952s 952s =================================== FAILURES =================================== 952s __________ TestColorField.test_field_rendering_when_validation_fails ___________ 952s 952s self = 952s 952s def test_field_rendering_when_validation_fails(self): 952s form_class = self.init_form() 952s form = form_class(MultiDict(color='invalid')) 952s form.validate() 952s > assert 'value="invalid"' in str(form.color) 952s 952s tests/fields/test_color_field.py:44: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'color', 'type': 'color', 'value': 'invalid'} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'ColorInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ______________ TestDateField.test_assigns_required_from_validator ______________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'date', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestDateField.test_renders_autofocus _____________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'date', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestDateField.test_renders_required ______________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'date', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestDateField.test_renders_disabled ______________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'date', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestDateField.test_renders_readonly ______________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'date', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestDateField.test_assigns_min_and_max ____________________ 952s 952s self = 952s 952s def test_assigns_min_and_max(self): 952s form_class = self.init_form( 952s validators=[DateRange( 952s min=datetime(2000, 1, 1), 952s max=datetime(2000, 10, 10) 952s )] 952s ) 952s form = form_class(MultiDict(test_field='2000-2-2')) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_date_field.py:18: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'max': '2000-10-10', 'min': '2000-01-01', 'type': 'date', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________ TestDateTimeField.test_assigns_required_from_validator ____________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ___________________ TestDateTimeField.test_renders_autofocus ___________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'datetime', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ___________________ TestDateTimeField.test_renders_required ____________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ___________________ TestDateTimeField.test_renders_disabled ____________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'datetime', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ___________________ TestDateTimeField.test_renders_readonly ____________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'datetime', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s __________________ TestDateTimeField.test_assigns_min_and_max __________________ 952s 952s self = 952s 952s def test_assigns_min_and_max(self): 952s form_class = self.init_form( 952s validators=[DateRange( 952s min=datetime(2000, 1, 1), 952s max=datetime(2000, 10, 10) 952s )] 952s ) 952s form = form_class(MultiDict(test_field='2000-2-2')) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_date_time_field.py:18: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'max': '2000-10-10T00:00:00Z', 'min': '2000-01-01T00:00:00Z', 'type': 'datetime', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _________ TestDateTimeLocalField.test_assigns_required_from_validator __________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime-local', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ________________ TestDateTimeLocalField.test_renders_autofocus _________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'datetime-local', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _________________ TestDateTimeLocalField.test_renders_required _________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime-local', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _________________ TestDateTimeLocalField.test_renders_disabled _________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'datetime-local', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _________________ TestDateTimeLocalField.test_renders_readonly _________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'datetime-local', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _______________ TestDateTimeLocalField.test_assigns_min_and_max ________________ 952s 952s self = 952s 952s def test_assigns_min_and_max(self): 952s form_class = self.init_form( 952s validators=[DateRange( 952s min=datetime(2000, 1, 1), 952s max=datetime(2000, 10, 10) 952s )] 952s ) 952s form = form_class(MultiDict(test_field='2000-2-2')) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_date_time_local_field.py:18: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'max': '2000-10-10T00:00:00', 'min': '2000-01-01T00:00:00', 'type': 'datetime-local', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________ TestDecimalField.test_assigns_required_from_validator _____________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'step': 'any', 'type': 'number', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ___________________ TestDecimalField.test_renders_autofocus ____________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestDecimalField.test_renders_required ____________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestDecimalField.test_renders_disabled ____________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestDecimalField.test_renders_readonly ____________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s __________________ TestDecimalField.test_assigns_min_and_max ___________________ 952s 952s self = 952s 952s def test_assigns_min_and_max(self): 952s form_class = self.init_form( 952s validators=[NumberRange(min=2, max=10)] 952s ) 952s form = form_class(MultiDict(test_field=3)) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_decimal_field.py:16: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'max': 10, 'min': 2, 'step': 'any', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ______________________ TestDecimalField.test_assigns_step ______________________ 952s 952s self = 952s 952s def test_assigns_step(self): 952s form_class = self.init_form( 952s widget=NumberInput(step='0.1') 952s ) 952s form = form_class(MultiDict(test_field=3)) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_decimal_field.py:26: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'step': '0.1', 'type': 'number', 'value': 3} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _______ TestIntIntervalField.test_field_rendering_when_validation_fails ________ 952s 952s self = 952s 952s def test_field_rendering_when_validation_fails(self): 952s form_class = self.init_form() 952s form = form_class(MultiDict(interval='invalid')) 952s form.validate() 952s > assert 'value="invalid"' in str(form.interval) 952s 952s tests/fields/test_int_interval_field.py:34: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'interval', 'type': 'text', 'value': 'invalid'} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ______ TestFloatIntervalField.test_field_rendering_when_validation_fails _______ 952s 952s self = 952s 952s def test_field_rendering_when_validation_fails(self): 952s form_class = self.init_form() 952s form = form_class(MultiDict(interval='invalid')) 952s form.validate() 952s > assert 'value="invalid"' in str(form.interval) 952s 952s tests/fields/test_int_interval_field.py:34: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'interval', 'type': 'text', 'value': 'invalid'} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________ TestIntegerField.test_assigns_required_from_validator _____________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'step': '1', 'type': 'number', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ___________________ TestIntegerField.test_renders_autofocus ____________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestIntegerField.test_renders_required ____________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestIntegerField.test_renders_disabled ____________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestIntegerField.test_renders_readonly ____________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'number', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s __________________ TestIntegerField.test_assigns_min_and_max ___________________ 952s 952s self = 952s 952s def test_assigns_min_and_max(self): 952s form_class = self.init_form(validators=[NumberRange(min=2, max=10)]) 952s form = form_class(MultiDict(test_field=3)) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_integer_field.py:13: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'max': 10, 'min': 2, 'step': '1', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________ TestSearchField.test_assigns_required_from_validator _____________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'search', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestSearchField.test_renders_autofocus ____________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'search', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestSearchField.test_renders_required _____________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'search', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestSearchField.test_renders_disabled _____________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'search', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestSearchField.test_renders_readonly _____________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'search', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestSelectField.test_option_selected _____________________ 952s 952s self = 952s 952s def test_option_selected(self): 952s form_class = self.init_form(choices=self.choices) 952s 952s obj = Dummy() 952s obj.fruit = 'peach' 952s form = form_class( 952s obj=obj 952s ) 952s > assert ( 952s '' in 952s str(form.fruit) 952s ) 952s 952s tests/fields/test_select_field.py:74: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 952s select_params = 'id="fruit" name="fruit"' 952s html = ['"] 952s if field.has_groups(): 952s for group, choices in field.iter_groups(): 952s optgroup_params = html_params(label=group) 952s html.append(f"") 952s for choice in choices: 952s val, label, selected, render_kw = choice 952s html.append(self.render_option(val, label, selected, **render_kw)) 952s html.append("") 952s else: 952s for choice in field.iter_choices(): 952s > val, label, selected, render_kw = choice 952s E ValueError: not enough values to unpack (expected 4, got 3) 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 952s ______ TestSelectField.test_nested_option_selected_by_field_default_value ______ 952s 952s self = 952s 952s def test_nested_option_selected_by_field_default_value(self): 952s form_class = self.init_form( 952s choices=self.choices, default='pear' 952s ) 952s form = form_class() 952s > assert ( 952s '' in 952s str(form.fruit) 952s ) 952s 952s tests/fields/test_select_field.py:84: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 952s select_params = 'id="fruit" name="fruit"' 952s html = ['"] 952s if field.has_groups(): 952s for group, choices in field.iter_groups(): 952s optgroup_params = html_params(label=group) 952s html.append(f"") 952s for choice in choices: 952s val, label, selected, render_kw = choice 952s html.append(self.render_option(val, label, selected, **render_kw)) 952s html.append("") 952s else: 952s for choice in field.iter_choices(): 952s > val, label, selected, render_kw = choice 952s E ValueError: not enough values to unpack (expected 4, got 3) 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 952s _________ TestSelectField.test_option_selected_by_field_default_value __________ 952s 952s self = 952s 952s def test_option_selected_by_field_default_value(self): 952s choices = [ 952s ('apple', 'Apple'), 952s ('peach', 'Peach'), 952s ('pear', 'Pear') 952s ] 952s form_class = self.init_form( 952s choices=choices, default='pear' 952s ) 952s form = form_class() 952s > assert ( 952s '' in 952s str(form.fruit) 952s ) 952s 952s tests/fields/test_select_field.py:99: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 952s select_params = 'id="fruit" name="fruit"' 952s html = ['"] 952s if field.has_groups(): 952s for group, choices in field.iter_groups(): 952s optgroup_params = html_params(label=group) 952s html.append(f"") 952s for choice in choices: 952s val, label, selected, render_kw = choice 952s html.append(self.render_option(val, label, selected, **render_kw)) 952s html.append("") 952s else: 952s for choice in field.iter_choices(): 952s > val, label, selected, render_kw = choice 952s E ValueError: not enough values to unpack (expected 4, got 3) 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 952s _____ TestSelectField.test_callable_option_selected_by_field_default_value _____ 952s 952s self = 952s 952s def test_callable_option_selected_by_field_default_value(self): 952s def choices(): 952s return [ 952s ('apple', 'Apple'), 952s ('peach', 'Peach'), 952s ('pear', 'Pear') 952s ] 952s form_class = self.init_form( 952s choices=choices, default='pear' 952s ) 952s form = form_class() 952s > assert ( 952s '' in 952s str(form.fruit) 952s ) 952s 952s tests/fields/test_select_field.py:115: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 952s select_params = 'id="fruit" name="fruit"' 952s html = ['"] 952s if field.has_groups(): 952s for group, choices in field.iter_groups(): 952s optgroup_params = html_params(label=group) 952s html.append(f"") 952s for choice in choices: 952s val, label, selected, render_kw = choice 952s html.append(self.render_option(val, label, selected, **render_kw)) 952s html.append("") 952s else: 952s for choice in field.iter_choices(): 952s > val, label, selected, render_kw = choice 952s E ValueError: not enough values to unpack (expected 4, got 3) 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 952s _________________ TestSelectMultipleField.test_option_selected _________________ 952s 952s self = 952s 952s def test_option_selected(self): 952s form_class = self.init_form(choices=self.choices) 952s 952s obj = Dummy() 952s obj.fruits = ['peach'] 952s form = form_class( 952s obj=obj 952s ) 952s > assert ( 952s '' in 952s str(form.fruits) 952s ) 952s 952s tests/fields/test_select_multiple_field.py:55: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'fruits', 'multiple': True}, flags = 952s k = '__weakref__', select_params = 'id="fruits" multiple name="fruits"' 952s html = ['"] 952s if field.has_groups(): 952s for group, choices in field.iter_groups(): 952s optgroup_params = html_params(label=group) 952s html.append(f"") 952s for choice in choices: 952s val, label, selected, render_kw = choice 952s html.append(self.render_option(val, label, selected, **render_kw)) 952s html.append("") 952s else: 952s for choice in field.iter_choices(): 952s > val, label, selected, render_kw = choice 952s E ValueError: not enough values to unpack (expected 4, got 3) 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 952s _____________ TestSplitDateTimeField.test_assigns_required_to_date _____________ 952s 952s self = 952s 952s def test_assigns_required_to_date(self): 952s form_class = self.init_form(datetime_form={ 952s 'date': {'validators': [DataRequired()]} 952s }) 952s form = form_class() 952s > assert str(form.test_field.date) == ( 952s '' 952s ) 952s 952s tests/fields/test_split_date_time_field.py:22: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field-date', 'required': True, 'type': 'date', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ________________ TestSplitDateTimeField.test_renders_date_field ________________ 952s 952s self = 952s 952s def test_renders_date_field(self): 952s form_class = self.init_form() 952s form = form_class() 952s > assert str(form.test_field.date) == ( 952s '' 952s ) 952s 952s tests/fields/test_split_date_time_field.py:30: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field-date', 'type': 'date', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________ TestSplitDateTimeField.test_assigns_required_to_time _____________ 952s 952s self = 952s 952s def test_assigns_required_to_time(self): 952s form_class = self.init_form(datetime_form={ 952s 'time': {'validators': [DataRequired()]} 952s }) 952s form = form_class() 952s > assert str(form.test_field.time) == ( 952s '' 952s ) 952s 952s tests/fields/test_split_date_time_field.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field-time', 'required': True, 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ________________ TestSplitDateTimeField.test_renders_time_field ________________ 952s 952s self = 952s 952s def test_renders_time_field(self): 952s form_class = self.init_form() 952s form = form_class() 952s > assert str(form.test_field.time) == ( 952s '' 952s ) 952s 952s tests/fields/test_split_date_time_field.py:48: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field-time', 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________ TestStringField.test_assigns_required_from_validator _____________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'text', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestStringField.test_renders_autofocus ____________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'text', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestStringField.test_renders_required _____________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'text', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestStringField.test_renders_disabled _____________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'text', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestStringField.test_renders_readonly _____________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'text', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ______________ TestTimeField.test_assigns_required_from_validator ______________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestTimeField.test_renders_autofocus _____________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestTimeField.test_renders_required ______________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestTimeField.test_renders_disabled ______________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _____________________ TestTimeField.test_renders_readonly ______________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ____________________ TestTimeField.test_assigns_min_and_max ____________________ 952s 952s self = 952s 952s def test_assigns_min_and_max(self): 952s form_class = self.init_form( 952s validators=[TimeRange( 952s min=time(12, 12), 952s max=time(13, 30) 952s )] 952s ) 952s form = form_class(MultiDict(test_field='13:20')) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_time_field.py:44: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'max': '13:30:00', 'min': '12:12:00', 'type': 'time', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ______________ TestTimeField.test_renders_input_time_at_midnight _______________ 952s 952s self = 952s 952s def test_renders_input_time_at_midnight(self): 952s form_class = self.init_form() 952s form = form_class(MultiDict(test_field='00:00')) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_time_field.py:52: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'type': 'time', 'value': '00:00'} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ________ TestTimeFieldWithSeconds.test_assigns_required_from_validator _________ 952s 952s self = 952s 952s def test_assigns_required_from_validator(self): 952s form_class = self.init_form( 952s validators=[DataRequired()] 952s ) 952s form = form_class() 952s assert ( 952s ' ) in str(form.test_field) 952s 952s tests/__init__.py:31: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _______________ TestTimeFieldWithSeconds.test_renders_autofocus ________________ 952s 952s self = 952s 952s def test_renders_autofocus(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s autofocus=True 952s ) 952s ) 952s form = form_class() 952s > assert 'autofocus' in str(form.test_field) 952s 952s tests/__init__.py:40: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ________________ TestTimeFieldWithSeconds.test_renders_required ________________ 952s 952s self = 952s 952s def test_renders_required(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s required=True 952s ) 952s ) 952s form = form_class() 952s > assert 'required' in str(form.test_field) 952s 952s tests/__init__.py:49: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ________________ TestTimeFieldWithSeconds.test_renders_disabled ________________ 952s 952s self = 952s 952s def test_renders_disabled(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s disabled=True 952s ) 952s ) 952s form = form_class() 952s > assert 'disabled' in str(form.test_field) 952s 952s tests/__init__.py:58: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ________________ TestTimeFieldWithSeconds.test_renders_readonly ________________ 952s 952s self = 952s 952s def test_renders_readonly(self): 952s form_class = self.init_form( 952s widget=self.field_class.widget.__class__( 952s readonly=True 952s ) 952s ) 952s form = form_class() 952s > assert 'readonly' in str(form.test_field) 952s 952s tests/__init__.py:67: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'time', 'value': ''} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s ______________ TestTimeFieldWithSeconds.test_assigns_min_and_max _______________ 952s 952s self = 952s 952s def test_assigns_min_and_max(self): 952s form_class = self.init_form( 952s validators=[TimeRange( 952s min=time(12, 12), 952s max=time(13, 30) 952s )] 952s ) 952s form = form_class(MultiDict(test_field='13:20')) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_time_field.py:44: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'max': '13:30:00', 'min': '12:12:00', 'type': 'time', ...} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s _________ TestTimeFieldWithSeconds.test_renders_input_time_at_midnight _________ 952s 952s self = 952s 952s def test_renders_input_time_at_midnight(self): 952s form_class = self.init_form() 952s form = form_class(MultiDict(test_field='00:00')) 952s > assert str(form.test_field) == ( 952s '' 952s ) 952s 952s tests/fields/test_time_field.py:52: 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 952s return self() 952s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 952s return self.meta.render_field(self, kwargs) 952s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 952s return field.widget(field, **render_kw) 952s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 952s return super(HTML5Input, self).__call__(field, **options_copy) 952s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 952s 952s self = 952s field = 952s kwargs = {'id': 'test_field', 'type': 'time', 'value': '00:00'} 952s flags = , k = '__class__' 952s 952s def __call__(self, field, **kwargs): 952s kwargs.setdefault("id", field.id) 952s kwargs.setdefault("type", self.input_type) 952s if "value" not in kwargs: 952s kwargs["value"] = field._value() 952s flags = getattr(field, "flags", {}) 952s for k in dir(flags): 952s > if k in self.validation_attrs and k not in kwargs: 952s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 952s 952s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 952s =========================== short test summary info ============================ 952s FAILED tests/fields/test_color_field.py::TestColorField::test_field_rendering_when_validation_fails 952s FAILED tests/fields/test_date_field.py::TestDateField::test_assigns_required_from_validator 952s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_autofocus 952s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_required 952s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_disabled 952s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_readonly 952s FAILED tests/fields/test_date_field.py::TestDateField::test_assigns_min_and_max 952s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_assigns_required_from_validator 952s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_autofocus 952s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_required 952s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_disabled 952s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_readonly 952s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_assigns_min_and_max 952s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_assigns_required_from_validator 952s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_autofocus 952s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_required 952s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_disabled 952s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_readonly 952s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_assigns_min_and_max 952s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_required_from_validator 952s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_autofocus 952s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_required 952s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_disabled 952s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_readonly 952s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_min_and_max 952s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_step 952s FAILED tests/fields/test_int_interval_field.py::TestIntIntervalField::test_field_rendering_when_validation_fails 952s FAILED tests/fields/test_int_interval_field.py::TestFloatIntervalField::test_field_rendering_when_validation_fails 952s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_assigns_required_from_validator 952s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_autofocus 952s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_required 952s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_disabled 952s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_readonly 952s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_assigns_min_and_max 952s FAILED tests/fields/test_search_field.py::TestSearchField::test_assigns_required_from_validator 952s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_autofocus 952s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_required 952s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_disabled 952s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_readonly 952s FAILED tests/fields/test_select_field.py::TestSelectField::test_option_selected 952s FAILED tests/fields/test_select_field.py::TestSelectField::test_nested_option_selected_by_field_default_value 952s FAILED tests/fields/test_select_field.py::TestSelectField::test_option_selected_by_field_default_value 952s FAILED tests/fields/test_select_field.py::TestSelectField::test_callable_option_selected_by_field_default_value 952s FAILED tests/fields/test_select_multiple_field.py::TestSelectMultipleField::test_option_selected 952s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_assigns_required_to_date 952s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_renders_date_field 952s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_assigns_required_to_time 952s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_renders_time_field 952s FAILED tests/fields/test_string_field.py::TestStringField::test_assigns_required_from_validator 952s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_autofocus 952s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_required 952s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_disabled 952s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_readonly 952s FAILED tests/fields/test_time_field.py::TestTimeField::test_assigns_required_from_validator 952s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_autofocus 952s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_required 952s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_disabled 952s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_readonly 952s FAILED tests/fields/test_time_field.py::TestTimeField::test_assigns_min_and_max 952s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_input_time_at_midnight 952s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_assigns_required_from_validator 952s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_autofocus 952s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_required 952s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_disabled 952s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_readonly 952s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_assigns_min_and_max 952s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_input_time_at_midnight 952s ======================== 67 failed, 68 passed in 1.98s ========================= 952s autopkgtest [15:34:01]: test upstream: -----------------------] 953s upstream FAIL non-zero exit status 1 953s autopkgtest [15:34:02]: test upstream: - - - - - - - - - - results - - - - - - - - - - 953s autopkgtest [15:34:02]: @@@@@@@@@@@@@@@@@@@@ summary 953s upstream FAIL non-zero exit status 1 965s nova [W] Skipping flock in bos03-arm64 965s Creating nova instance adt-plucky-arm64-wtforms-components-20241109-151809-juju-7f2275-prod-proposed-migration-environment-15-83d19cd8-af9d-4331-a802-668717805f37 from image adt/ubuntu-plucky-arm64-server-20241108.img (UUID 078531dc-7060-4700-ae1a-b631769d5369)...