0s autopkgtest [17:36:22]: starting date and time: 2024-11-09 17:36:22+0000 0s autopkgtest [17:36:22]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [17:36:22]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ko28k4pg/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-27.secgroup --name adt-plucky-ppc64el-wtforms-components-20241109-173621-juju-7f2275-prod-proposed-migration-environment-2-41d1e67a-c3ba-4e99-9c5e-cbc21e988c63 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -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/ 96s autopkgtest [17:37:58]: testbed dpkg architecture: ppc64el 96s autopkgtest [17:37:58]: testbed apt version: 2.9.8 96s autopkgtest [17:37:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 97s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 97s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [992 kB] 98s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 98s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 98s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 98s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [126 kB] 98s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [707 kB] 98s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [19.6 kB] 98s Fetched 2046 kB in 1s (1437 kB/s) 98s Reading package lists... 101s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Calculating upgrade... 102s The following NEW packages will be installed: 102s systemd-cryptsetup 102s The following packages will be upgraded: 102s base-passwd bash-completion libattr1 libblockdev-crypto3 libblockdev-fs3 102s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 102s libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 libbsd0 102s libbytesize-common libbytesize1 libdrm-common libdrm2 libjson-glib-1.0-0 102s libjson-glib-1.0-common libmaxminddb0 libmnl0 libnghttp2-14 libnspr4 102s libnss-systemd libpam-systemd libpython3.12-minimal libpython3.12-stdlib 102s libpython3.12t64 libsystemd-shared libsystemd0 libudev1 libudisks2-0 102s liburcu8t64 linux-firmware openssh-client openssh-server openssh-sftp-server 102s pci.ids python3-gi python3-idna python3-jsonpatch python3-lazr.restfulclient 102s python3-urllib3 python3-wadllib python3.12 python3.12-gdbm 102s python3.12-minimal systemd systemd-resolved systemd-sysv systemd-timesyncd 102s tzdata udev udisks2 usbutils 102s 56 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 102s Need to get 560 MB of archives. 102s After this operation, 27.3 MB of additional disk space will be used. 102s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el base-passwd ppc64el 3.6.5 [55.1 kB] 103s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.12t64 ppc64el 3.12.7-2 [2565 kB] 104s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12 ppc64el 3.12.7-2 [661 kB] 104s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.12-stdlib ppc64el 3.12.7-2 [2121 kB] 104s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12-minimal ppc64el 3.12.7-2 [2467 kB] 105s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.12-minimal ppc64el 3.12.7-2 [839 kB] 105s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el tzdata all 2024b-1ubuntu2 [274 kB] 105s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnss-systemd ppc64el 256.5-2ubuntu4 [215 kB] 105s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el systemd-timesyncd ppc64el 256.5-2ubuntu4 [42.5 kB] 105s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el systemd-resolved ppc64el 256.5-2ubuntu4 [368 kB] 105s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsystemd-shared ppc64el 256.5-2ubuntu4 [2503 kB] 105s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsystemd0 ppc64el 256.5-2ubuntu4 [565 kB] 105s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el systemd-sysv ppc64el 256.5-2ubuntu4 [11.9 kB] 105s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpam-systemd ppc64el 256.5-2ubuntu4 [326 kB] 105s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el systemd ppc64el 256.5-2ubuntu4 [3746 kB] 106s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el udev ppc64el 256.5-2ubuntu4 [2141 kB] 106s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libudev1 ppc64el 256.5-2ubuntu4 [224 kB] 106s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el openssh-sftp-server ppc64el 1:9.7p1-7ubuntu5 [43.3 kB] 106s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el openssh-server ppc64el 1:9.7p1-7ubuntu5 [629 kB] 106s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el openssh-client ppc64el 1:9.7p1-7ubuntu5 [1105 kB] 106s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el libattr1 ppc64el 1:2.5.2-2 [12.8 kB] 106s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbsd0 ppc64el 0.12.2-2 [57.4 kB] 106s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpf1 ppc64el 1:1.4.6-1 [217 kB] 106s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmnl0 ppc64el 1.0.5-3 [13.4 kB] 106s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-gi ppc64el 3.50.0-3 [267 kB] 106s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el bash-completion all 1:2.14.0-2 [210 kB] 106s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm-common all 2.4.123-1 [8436 B] 106s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm2 ppc64el 2.4.123-1 [49.6 kB] 106s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmaxminddb0 ppc64el 1.11.0-1 [21.6 kB] 106s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnghttp2-14 ppc64el 1.64.0-1 [89.7 kB] 106s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el liburcu8t64 ppc64el 0.14.1-1 [72.8 kB] 106s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el pci.ids all 0.0~2024.10.24-1 [279 kB] 106s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12-gdbm ppc64el 3.12.7-2 [30.6 kB] 106s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el usbutils ppc64el 1:018-1 [89.8 kB] 106s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-utils3 ppc64el 3.2.1-1 [20.6 kB] 106s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-crypto3 ppc64el 3.2.1-1 [24.8 kB] 106s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-fs3 ppc64el 3.2.1-1 [40.6 kB] 106s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-loop3 ppc64el 3.2.1-1 [7704 B] 106s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbytesize1 ppc64el 2.11-1ubuntu1 [14.8 kB] 106s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbytesize-common all 2.11-1ubuntu1 [3584 B] 106s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-mdraid3 ppc64el 3.2.1-1 [14.2 kB] 106s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-nvme3 ppc64el 3.2.1-1 [20.2 kB] 106s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-part3 ppc64el 3.2.1-1 [17.5 kB] 106s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev-swap3 ppc64el 3.2.1-1 [8538 B] 106s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblockdev3 ppc64el 3.2.1-1 [54.1 kB] 106s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-2 [5502 B] 106s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-2 [75.9 kB] 106s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnspr4 ppc64el 2:4.35-1.1ubuntu2 [134 kB] 106s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el udisks2 ppc64el 2.10.1-11ubuntu1 [344 kB] 106s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libudisks2-0 ppc64el 2.10.1-11ubuntu1 [180 kB] 106s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el linux-firmware ppc64el 20241108.git3bbb13a7-0ubuntu1 [536 MB] 126s Get:52 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-idna all 3.8-2 [47.0 kB] 126s Get:53 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jsonpatch all 1.32-4 [12.2 kB] 126s Get:54 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-wadllib all 2.0.0-1 [36.7 kB] 126s Get:55 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-lazr.restfulclient all 0.14.6-2 [50.9 kB] 126s Get:56 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-urllib3 all 2.0.7-2ubuntu0.1 [93.1 kB] 126s Get:57 http://ftpmaster.internal/ubuntu plucky/main ppc64el systemd-cryptsetup ppc64el 256.5-2ubuntu4 [127 kB] 126s Preconfiguring packages ... 126s Fetched 560 MB in 23s (23.9 MB/s) 126s (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 ... 73539 files and directories currently installed.) 126s Preparing to unpack .../base-passwd_3.6.5_ppc64el.deb ... 126s Unpacking base-passwd (3.6.5) over (3.6.4) ... 127s Setting up base-passwd (3.6.5) ... 127s (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 ... 73540 files and directories currently installed.) 127s Preparing to unpack .../00-libpython3.12t64_3.12.7-2_ppc64el.deb ... 127s Unpacking libpython3.12t64:ppc64el (3.12.7-2) over (3.12.7-1) ... 127s Preparing to unpack .../01-python3.12_3.12.7-2_ppc64el.deb ... 127s Unpacking python3.12 (3.12.7-2) over (3.12.7-1) ... 127s Preparing to unpack .../02-libpython3.12-stdlib_3.12.7-2_ppc64el.deb ... 127s Unpacking libpython3.12-stdlib:ppc64el (3.12.7-2) over (3.12.7-1) ... 127s Preparing to unpack .../03-python3.12-minimal_3.12.7-2_ppc64el.deb ... 127s Unpacking python3.12-minimal (3.12.7-2) over (3.12.7-1) ... 128s Preparing to unpack .../04-libpython3.12-minimal_3.12.7-2_ppc64el.deb ... 128s Unpacking libpython3.12-minimal:ppc64el (3.12.7-2) over (3.12.7-1) ... 128s Preparing to unpack .../05-tzdata_2024b-1ubuntu2_all.deb ... 128s Unpacking tzdata (2024b-1ubuntu2) over (2024a-4ubuntu1) ... 128s Preparing to unpack .../06-libnss-systemd_256.5-2ubuntu4_ppc64el.deb ... 128s Unpacking libnss-systemd:ppc64el (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 128s Preparing to unpack .../07-systemd-timesyncd_256.5-2ubuntu4_ppc64el.deb ... 128s Unpacking systemd-timesyncd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 128s Preparing to unpack .../08-systemd-resolved_256.5-2ubuntu4_ppc64el.deb ... 128s Unpacking systemd-resolved (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 128s Preparing to unpack .../09-libsystemd-shared_256.5-2ubuntu4_ppc64el.deb ... 128s Unpacking libsystemd-shared:ppc64el (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 128s Preparing to unpack .../10-libsystemd0_256.5-2ubuntu4_ppc64el.deb ... 128s Unpacking libsystemd0:ppc64el (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 128s Setting up libsystemd0:ppc64el (256.5-2ubuntu4) ... 128s (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 ... 73539 files and directories currently installed.) 128s Preparing to unpack .../systemd-sysv_256.5-2ubuntu4_ppc64el.deb ... 128s Unpacking systemd-sysv (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 129s Preparing to unpack .../libpam-systemd_256.5-2ubuntu4_ppc64el.deb ... 129s Unpacking libpam-systemd:ppc64el (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 129s Preparing to unpack .../systemd_256.5-2ubuntu4_ppc64el.deb ... 129s Unpacking systemd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 129s Preparing to unpack .../udev_256.5-2ubuntu4_ppc64el.deb ... 129s Unpacking udev (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 129s Preparing to unpack .../libudev1_256.5-2ubuntu4_ppc64el.deb ... 129s Unpacking libudev1:ppc64el (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 129s Setting up libudev1:ppc64el (256.5-2ubuntu4) ... 130s (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 ... 73539 files and directories currently installed.) 130s Preparing to unpack .../openssh-sftp-server_1%3a9.7p1-7ubuntu5_ppc64el.deb ... 130s Unpacking openssh-sftp-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 130s Preparing to unpack .../openssh-server_1%3a9.7p1-7ubuntu5_ppc64el.deb ... 130s Unpacking openssh-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 130s Preparing to unpack .../openssh-client_1%3a9.7p1-7ubuntu5_ppc64el.deb ... 130s Unpacking openssh-client (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 130s Preparing to unpack .../libattr1_1%3a2.5.2-2_ppc64el.deb ... 130s Unpacking libattr1:ppc64el (1:2.5.2-2) over (1:2.5.2-1build2) ... 130s Setting up libattr1:ppc64el (1:2.5.2-2) ... 130s (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 ... 73539 files and directories currently installed.) 130s Preparing to unpack .../libbsd0_0.12.2-2_ppc64el.deb ... 130s Unpacking libbsd0:ppc64el (0.12.2-2) over (0.12.2-1) ... 130s Setting up libbsd0:ppc64el (0.12.2-2) ... 130s (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 ... 73539 files and directories currently installed.) 130s Preparing to unpack .../00-libbpf1_1%3a1.4.6-1_ppc64el.deb ... 130s Unpacking libbpf1:ppc64el (1:1.4.6-1) over (1:1.4.5-1) ... 130s Preparing to unpack .../01-libmnl0_1.0.5-3_ppc64el.deb ... 130s Unpacking libmnl0:ppc64el (1.0.5-3) over (1.0.5-2build1) ... 130s Preparing to unpack .../02-python3-gi_3.50.0-3_ppc64el.deb ... 131s Unpacking python3-gi (3.50.0-3) over (3.48.2-1) ... 131s Preparing to unpack .../03-bash-completion_1%3a2.14.0-2_all.deb ... 131s Unpacking bash-completion (1:2.14.0-2) over (1:2.14.0-1) ... 131s Preparing to unpack .../04-libdrm-common_2.4.123-1_all.deb ... 131s Unpacking libdrm-common (2.4.123-1) over (2.4.122-1) ... 131s Preparing to unpack .../05-libdrm2_2.4.123-1_ppc64el.deb ... 131s Unpacking libdrm2:ppc64el (2.4.123-1) over (2.4.122-1) ... 131s Preparing to unpack .../06-libmaxminddb0_1.11.0-1_ppc64el.deb ... 131s Unpacking libmaxminddb0:ppc64el (1.11.0-1) over (1.10.0-1) ... 131s Preparing to unpack .../07-libnghttp2-14_1.64.0-1_ppc64el.deb ... 131s Unpacking libnghttp2-14:ppc64el (1.64.0-1) over (1.62.1-2) ... 131s Preparing to unpack .../08-liburcu8t64_0.14.1-1_ppc64el.deb ... 131s Unpacking liburcu8t64:ppc64el (0.14.1-1) over (0.14.0-4) ... 131s Preparing to unpack .../09-pci.ids_0.0~2024.10.24-1_all.deb ... 131s Unpacking pci.ids (0.0~2024.10.24-1) over (0.0~2024.09.12-1) ... 131s Preparing to unpack .../10-python3.12-gdbm_3.12.7-2_ppc64el.deb ... 131s Unpacking python3.12-gdbm (3.12.7-2) over (3.12.7-1) ... 131s Preparing to unpack .../11-usbutils_1%3a018-1_ppc64el.deb ... 131s Unpacking usbutils (1:018-1) over (1:017-3build1) ... 131s Preparing to unpack .../12-libblockdev-utils3_3.2.1-1_ppc64el.deb ... 131s Unpacking libblockdev-utils3:ppc64el (3.2.1-1) over (3.2.0-2) ... 131s Preparing to unpack .../13-libblockdev-crypto3_3.2.1-1_ppc64el.deb ... 131s Unpacking libblockdev-crypto3:ppc64el (3.2.1-1) over (3.2.0-2) ... 131s Preparing to unpack .../14-libblockdev-fs3_3.2.1-1_ppc64el.deb ... 131s Unpacking libblockdev-fs3:ppc64el (3.2.1-1) over (3.2.0-2) ... 131s Preparing to unpack .../15-libblockdev-loop3_3.2.1-1_ppc64el.deb ... 131s Unpacking libblockdev-loop3:ppc64el (3.2.1-1) over (3.2.0-2) ... 131s Preparing to unpack .../16-libbytesize1_2.11-1ubuntu1_ppc64el.deb ... 131s Unpacking libbytesize1:ppc64el (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 131s Preparing to unpack .../17-libbytesize-common_2.11-1ubuntu1_all.deb ... 131s Unpacking libbytesize-common (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 132s Preparing to unpack .../18-libblockdev-mdraid3_3.2.1-1_ppc64el.deb ... 132s Unpacking libblockdev-mdraid3:ppc64el (3.2.1-1) over (3.2.0-2) ... 132s Preparing to unpack .../19-libblockdev-nvme3_3.2.1-1_ppc64el.deb ... 132s Unpacking libblockdev-nvme3:ppc64el (3.2.1-1) over (3.2.0-2) ... 132s Preparing to unpack .../20-libblockdev-part3_3.2.1-1_ppc64el.deb ... 132s Unpacking libblockdev-part3:ppc64el (3.2.1-1) over (3.2.0-2) ... 132s Preparing to unpack .../21-libblockdev-swap3_3.2.1-1_ppc64el.deb ... 132s Unpacking libblockdev-swap3:ppc64el (3.2.1-1) over (3.2.0-2) ... 132s Preparing to unpack .../22-libblockdev3_3.2.1-1_ppc64el.deb ... 132s Unpacking libblockdev3:ppc64el (3.2.1-1) over (3.2.0-2) ... 132s Preparing to unpack .../23-libjson-glib-1.0-common_1.10.0+ds-2_all.deb ... 132s Unpacking libjson-glib-1.0-common (1.10.0+ds-2) over (1.8.0-2build2) ... 132s Preparing to unpack .../24-libjson-glib-1.0-0_1.10.0+ds-2_ppc64el.deb ... 132s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-2) over (1.8.0-2build2) ... 132s Preparing to unpack .../25-libnspr4_2%3a4.35-1.1ubuntu2_ppc64el.deb ... 132s Unpacking libnspr4:ppc64el (2:4.35-1.1ubuntu2) over (2:4.35-1.1ubuntu1) ... 132s Preparing to unpack .../26-udisks2_2.10.1-11ubuntu1_ppc64el.deb ... 132s Unpacking udisks2 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 132s Preparing to unpack .../27-libudisks2-0_2.10.1-11ubuntu1_ppc64el.deb ... 132s Unpacking libudisks2-0:ppc64el (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 132s Preparing to unpack .../28-linux-firmware_20241108.git3bbb13a7-0ubuntu1_ppc64el.deb ... 132s Unpacking linux-firmware (20241108.git3bbb13a7-0ubuntu1) over (20240913.gita34e7a5f-0ubuntu2) ... 137s Preparing to unpack .../29-python3-idna_3.8-2_all.deb ... 137s Unpacking python3-idna (3.8-2) over (3.6-2.1) ... 137s Preparing to unpack .../30-python3-jsonpatch_1.32-4_all.deb ... 137s Unpacking python3-jsonpatch (1.32-4) over (1.32-3) ... 137s Preparing to unpack .../31-python3-wadllib_2.0.0-1_all.deb ... 137s Unpacking python3-wadllib (2.0.0-1) over (1.3.6-5) ... 137s Preparing to unpack .../32-python3-lazr.restfulclient_0.14.6-2_all.deb ... 137s Unpacking python3-lazr.restfulclient (0.14.6-2) over (0.14.6-1) ... 137s Preparing to unpack .../33-python3-urllib3_2.0.7-2ubuntu0.1_all.deb ... 138s Unpacking python3-urllib3 (2.0.7-2ubuntu0.1) over (2.0.7-2) ... 138s Selecting previously unselected package systemd-cryptsetup. 138s Preparing to unpack .../34-systemd-cryptsetup_256.5-2ubuntu4_ppc64el.deb ... 138s Unpacking systemd-cryptsetup (256.5-2ubuntu4) ... 138s Setting up liburcu8t64:ppc64el (0.14.1-1) ... 138s Setting up pci.ids (0.0~2024.10.24-1) ... 138s Setting up linux-firmware (20241108.git3bbb13a7-0ubuntu1) ... 138s Setting up openssh-client (1:9.7p1-7ubuntu5) ... 138s Setting up libmaxminddb0:ppc64el (1.11.0-1) ... 138s Setting up python3.12-gdbm (3.12.7-2) ... 138s Setting up python3-jsonpatch (1.32-4) ... 138s Setting up libpython3.12-minimal:ppc64el (3.12.7-2) ... 138s Setting up libnghttp2-14:ppc64el (1.64.0-1) ... 138s Setting up usbutils (1:018-1) ... 138s Setting up tzdata (2024b-1ubuntu2) ... 138s 138s Current default time zone: 'Etc/UTC' 138s Local time is now: Sat Nov 9 17:38:40 UTC 2024. 138s Universal Time is now: Sat Nov 9 17:38:40 UTC 2024. 138s Run 'dpkg-reconfigure tzdata' if you wish to change it. 138s 138s Setting up libnspr4:ppc64el (2:4.35-1.1ubuntu2) ... 138s Setting up bash-completion (1:2.14.0-2) ... 138s Setting up python3-wadllib (2.0.0-1) ... 138s Setting up python3-gi (3.50.0-3) ... 139s Setting up libbytesize-common (2.11-1ubuntu1) ... 139s Setting up libblockdev-utils3:ppc64el (3.2.1-1) ... 139s Setting up libmnl0:ppc64el (1.0.5-3) ... 139s Setting up python3-idna (3.8-2) ... 139s Setting up libsystemd-shared:ppc64el (256.5-2ubuntu4) ... 139s Setting up python3-urllib3 (2.0.7-2ubuntu0.1) ... 139s Setting up libblockdev-nvme3:ppc64el (3.2.1-1) ... 139s Setting up libblockdev-fs3:ppc64el (3.2.1-1) ... 139s Setting up libjson-glib-1.0-common (1.10.0+ds-2) ... 139s Setting up libbytesize1:ppc64el (2.11-1ubuntu1) ... 139s Setting up python3-lazr.restfulclient (0.14.6-2) ... 139s Setting up libdrm-common (2.4.123-1) ... 139s Setting up libbpf1:ppc64el (1:1.4.6-1) ... 139s Setting up libudisks2-0:ppc64el (2.10.1-11ubuntu1) ... 139s Setting up python3.12-minimal (3.12.7-2) ... 140s Setting up openssh-sftp-server (1:9.7p1-7ubuntu5) ... 140s Setting up libpython3.12-stdlib:ppc64el (3.12.7-2) ... 140s Setting up libblockdev-mdraid3:ppc64el (3.2.1-1) ... 140s Setting up openssh-server (1:9.7p1-7ubuntu5) ... 142s Setting up libblockdev-crypto3:ppc64el (3.2.1-1) ... 142s Setting up libblockdev-swap3:ppc64el (3.2.1-1) ... 142s Setting up python3.12 (3.12.7-2) ... 143s Setting up libblockdev-loop3:ppc64el (3.2.1-1) ... 143s Setting up systemd (256.5-2ubuntu4) ... 143s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 143s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 144s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 145s Setting up libblockdev3:ppc64el (3.2.1-1) ... 145s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-2) ... 145s Setting up libblockdev-part3:ppc64el (3.2.1-1) ... 145s Setting up libpython3.12t64:ppc64el (3.12.7-2) ... 145s Setting up systemd-cryptsetup (256.5-2ubuntu4) ... 145s Setting up systemd-timesyncd (256.5-2ubuntu4) ... 145s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 145s Setting up udev (256.5-2ubuntu4) ... 146s Setting up libdrm2:ppc64el (2.4.123-1) ... 146s Setting up systemd-resolved (256.5-2ubuntu4) ... 147s Setting up udisks2 (2.10.1-11ubuntu1) ... 148s Setting up systemd-sysv (256.5-2ubuntu4) ... 148s Setting up libnss-systemd:ppc64el (256.5-2ubuntu4) ... 148s Setting up libpam-systemd:ppc64el (256.5-2ubuntu4) ... 148s Processing triggers for libc-bin (2.40-1ubuntu3) ... 148s Processing triggers for ufw (0.36.2-8) ... 148s Processing triggers for man-db (2.12.1-3) ... 150s Processing triggers for dbus (1.14.10-4ubuntu5) ... 150s Processing triggers for shared-mime-info (2.4-5) ... 151s Processing triggers for initramfs-tools (0.142ubuntu34) ... 151s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 151s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 164s Reading package lists... 164s Building dependency tree... 164s Reading state information... 164s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 165s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 165s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 165s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 165s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 166s Reading package lists... 166s Reading package lists... 166s Building dependency tree... 166s Reading state information... 167s Calculating upgrade... 167s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 167s Reading package lists... 168s Building dependency tree... 168s Reading state information... 168s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 168s autopkgtest [17:39:10]: rebooting testbed after setup commands that affected boot 172s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 205s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 220s autopkgtest [17:40:02]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 223s autopkgtest [17:40:05]: @@@@@@@@@@@@@@@@@@@@ apt-source wtforms-components 225s Get:1 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (dsc) [2563 B] 225s Get:2 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (tar) [24.2 kB] 225s Get:3 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (diff) [2920 B] 225s gpgv: Signature made Mon Jul 1 13:54:17 2024 UTC 225s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 225s gpgv: issuer "tchet@debian.org" 225s gpgv: Can't check signature: No public key 225s dpkg-source: warning: cannot verify inline signature for ./wtforms-components_0.10.5-5.dsc: no acceptable signature found 225s autopkgtest [17:40:07]: testing package wtforms-components version 0.10.5-5 226s autopkgtest [17:40:08]: build not needed 226s autopkgtest [17:40:08]: test upstream: preparing testbed 227s Reading package lists... 227s Building dependency tree... 227s Reading state information... 227s Starting pkgProblemResolver with broken count: 0 227s Starting 2 pkgProblemResolver with broken count: 0 227s Done 228s The following additional packages will be installed: 228s libjs-jquery libjs-sphinxdoc libjs-underscore python3-all python3-colour 228s python3-decorator python3-dnspython python3-email-validator python3-flexmock 228s python3-infinity python3-iniconfig python3-intervals python3-packaging 228s python3-pluggy python3-pytest python3-six python3-validators python3-wtforms 228s python3-wtforms-components python3-wtforms-test 228s Suggested packages: 228s python3-trio python3-aioquic python3-h2 python3-httpx python3-httpcore 228s python3-django python3-django-localflavor python3-sqlalchemy 228s Recommended packages: 228s javascript-common 228s The following NEW packages will be installed: 228s autopkgtest-satdep libjs-jquery libjs-sphinxdoc libjs-underscore python3-all 228s python3-colour python3-decorator python3-dnspython python3-email-validator 228s python3-flexmock python3-infinity python3-iniconfig python3-intervals 228s python3-packaging python3-pluggy python3-pytest python3-six 228s python3-validators python3-wtforms python3-wtforms-components 228s python3-wtforms-test 228s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 228s Need to get 1314 kB/1315 kB of archives. 228s After this operation, 5368 kB of additional disk space will be used. 228s Get:1 /tmp/autopkgtest.thOKaS/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [760 B] 228s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 228s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 228s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-sphinxdoc all 7.4.7-3 [157 kB] 228s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.6-0ubuntu1 [888 B] 228s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-colour all 0.1.5-4 [22.8 kB] 228s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-decorator all 5.1.1-5 [10.1 kB] 228s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 228s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-email-validator all 2.2.0-1 [28.5 kB] 228s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-flexmock all 0.12.1-1 [20.6 kB] 228s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-infinity all 1.5-3 [3988 B] 228s Get:12 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 229s Get:13 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-intervals all 0.9.2-2 [11.6 kB] 229s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 229s Get:15 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 229s Get:16 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.2-1 [251 kB] 229s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-six all 1.16.0-7 [13.1 kB] 229s Get:18 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-validators all 0.20.0-2 [15.2 kB] 229s Get:19 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el python3-wtforms all 3.2.1-1 [64.0 kB] 229s Get:20 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-wtforms-components all 0.10.5-5 [23.7 kB] 229s Get:21 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-wtforms-test all 0.1.1-3 [13.6 kB] 229s Fetched 1314 kB in 1s (1676 kB/s) 229s Selecting previously unselected package libjs-jquery. 230s (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 ... 73777 files and directories currently installed.) 230s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 230s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 230s Selecting previously unselected package libjs-underscore. 230s Preparing to unpack .../01-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 230s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 230s Selecting previously unselected package libjs-sphinxdoc. 230s Preparing to unpack .../02-libjs-sphinxdoc_7.4.7-3_all.deb ... 230s Unpacking libjs-sphinxdoc (7.4.7-3) ... 230s Selecting previously unselected package python3-all. 230s Preparing to unpack .../03-python3-all_3.12.6-0ubuntu1_ppc64el.deb ... 230s Unpacking python3-all (3.12.6-0ubuntu1) ... 230s Selecting previously unselected package python3-colour. 230s Preparing to unpack .../04-python3-colour_0.1.5-4_all.deb ... 230s Unpacking python3-colour (0.1.5-4) ... 230s Selecting previously unselected package python3-decorator. 230s Preparing to unpack .../05-python3-decorator_5.1.1-5_all.deb ... 230s Unpacking python3-decorator (5.1.1-5) ... 230s Selecting previously unselected package python3-dnspython. 230s Preparing to unpack .../06-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 230s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 230s Selecting previously unselected package python3-email-validator. 230s Preparing to unpack .../07-python3-email-validator_2.2.0-1_all.deb ... 230s Unpacking python3-email-validator (2.2.0-1) ... 230s Selecting previously unselected package python3-flexmock. 230s Preparing to unpack .../08-python3-flexmock_0.12.1-1_all.deb ... 230s Unpacking python3-flexmock (0.12.1-1) ... 230s Selecting previously unselected package python3-infinity. 230s Preparing to unpack .../09-python3-infinity_1.5-3_all.deb ... 230s Unpacking python3-infinity (1.5-3) ... 230s Selecting previously unselected package python3-iniconfig. 230s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 230s Unpacking python3-iniconfig (1.1.1-2) ... 230s Selecting previously unselected package python3-intervals. 230s Preparing to unpack .../11-python3-intervals_0.9.2-2_all.deb ... 230s Unpacking python3-intervals (0.9.2-2) ... 230s Selecting previously unselected package python3-packaging. 230s Preparing to unpack .../12-python3-packaging_24.1-1_all.deb ... 230s Unpacking python3-packaging (24.1-1) ... 230s Selecting previously unselected package python3-pluggy. 230s Preparing to unpack .../13-python3-pluggy_1.5.0-1_all.deb ... 230s Unpacking python3-pluggy (1.5.0-1) ... 230s Selecting previously unselected package python3-pytest. 230s Preparing to unpack .../14-python3-pytest_8.3.2-1_all.deb ... 230s Unpacking python3-pytest (8.3.2-1) ... 230s Selecting previously unselected package python3-six. 230s Preparing to unpack .../15-python3-six_1.16.0-7_all.deb ... 230s Unpacking python3-six (1.16.0-7) ... 230s Selecting previously unselected package python3-validators. 230s Preparing to unpack .../16-python3-validators_0.20.0-2_all.deb ... 230s Unpacking python3-validators (0.20.0-2) ... 230s Selecting previously unselected package python3-wtforms. 230s Preparing to unpack .../17-python3-wtforms_3.2.1-1_all.deb ... 230s Unpacking python3-wtforms (3.2.1-1) ... 230s Selecting previously unselected package python3-wtforms-components. 230s Preparing to unpack .../18-python3-wtforms-components_0.10.5-5_all.deb ... 230s Unpacking python3-wtforms-components (0.10.5-5) ... 230s Selecting previously unselected package python3-wtforms-test. 230s Preparing to unpack .../19-python3-wtforms-test_0.1.1-3_all.deb ... 230s Unpacking python3-wtforms-test (0.1.1-3) ... 230s Selecting previously unselected package autopkgtest-satdep. 230s Preparing to unpack .../20-1-autopkgtest-satdep.deb ... 230s Unpacking autopkgtest-satdep (0) ... 230s Setting up python3-iniconfig (1.1.1-2) ... 230s Setting up python3-wtforms (3.2.1-1) ... 231s Setting up python3-all (3.12.6-0ubuntu1) ... 231s Setting up python3-six (1.16.0-7) ... 231s Setting up python3-decorator (5.1.1-5) ... 231s Setting up python3-packaging (24.1-1) ... 231s Setting up python3-colour (0.1.5-4) ... 231s Setting up python3-pluggy (1.5.0-1) ... 231s Setting up python3-infinity (1.5-3) ... 232s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 232s Setting up python3-email-validator (2.2.0-1) ... 232s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 232s Setting up python3-flexmock (0.12.1-1) ... 232s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 232s Setting up python3-intervals (0.9.2-2) ... 233s Setting up python3-validators (0.20.0-2) ... 233s Setting up python3-pytest (8.3.2-1) ... 233s Setting up libjs-sphinxdoc (7.4.7-3) ... 233s Setting up python3-wtforms-components (0.10.5-5) ... 233s Setting up python3-wtforms-test (0.1.1-3) ... 234s Setting up autopkgtest-satdep (0) ... 234s Processing triggers for man-db (2.12.1-3) ... 237s (Reading database ... 74527 files and directories currently installed.) 237s Removing autopkgtest-satdep (0) ... 238s autopkgtest [17:40:20]: test upstream: [----------------------- 238s -=-=-=-=-=-=-=- running tests for python3.12 -=-=-=-=-=-=-=-=- 238s $ python3.12 -m pytest tests 239s ============================= test session starts ============================== 239s platform linux -- Python 3.12.7+, pytest-8.3.2, pluggy-1.5.0 239s rootdir: /tmp/autopkgtest.thOKaS/autopkgtest_tmp 239s plugins: flexmock-0.12.1, typeguard-4.4.1 239s collected 135 items 239s 239s tests/fields/test_color_field.py ..F. [ 2%] 239s tests/fields/test_date_field.py FFFFFF [ 7%] 239s tests/fields/test_date_time_field.py FFFFFF [ 11%] 240s tests/fields/test_date_time_local_field.py FFFFFF [ 16%] 240s tests/fields/test_decimal_field.py FFFFFFF [ 21%] 240s tests/fields/test_int_interval_field.py ..F...F. [ 27%] 240s tests/fields/test_integer_field.py FFFFFF [ 31%] 240s tests/fields/test_json_field.py .. [ 33%] 240s tests/fields/test_passive_hidden_field.py . [ 34%] 240s tests/fields/test_read_only_fields.py . [ 34%] 240s tests/fields/test_search_field.py FFFFF [ 38%] 240s tests/fields/test_select_field.py ...FFFF. [ 44%] 240s tests/fields/test_select_multiple_field.py .F [ 45%] 240s tests/fields/test_split_date_time_field.py FFFF...... [ 53%] 241s tests/fields/test_string_field.py FFFFF [ 57%] 241s tests/fields/test_time_field.py FFFFF..FFFFFFF..FF [ 70%] 241s tests/test_chain_validator.py . [ 71%] 241s tests/test_date_range_validator.py ... [ 73%] 241s tests/test_email_validator.py ......................... [ 91%] 241s tests/test_if_validator.py ... [ 94%] 241s tests/test_read_only_function.py ... [ 96%] 241s tests/test_time_range_validator.py ... [ 98%] 241s tests/test_widgets.py .. [100%] 241s 241s =================================== FAILURES =================================== 241s __________ TestColorField.test_field_rendering_when_validation_fails ___________ 241s 241s self = 241s 241s def test_field_rendering_when_validation_fails(self): 241s form_class = self.init_form() 241s form = form_class(MultiDict(color='invalid')) 241s form.validate() 241s > assert 'value="invalid"' in str(form.color) 241s 241s tests/fields/test_color_field.py:44: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'color', 'type': 'color', 'value': 'invalid'} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'ColorInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ______________ TestDateField.test_assigns_required_from_validator ______________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'date', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestDateField.test_renders_autofocus _____________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'date', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestDateField.test_renders_required ______________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'date', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestDateField.test_renders_disabled ______________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'date', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestDateField.test_renders_readonly ______________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'date', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestDateField.test_assigns_min_and_max ____________________ 241s 241s self = 241s 241s def test_assigns_min_and_max(self): 241s form_class = self.init_form( 241s validators=[DateRange( 241s min=datetime(2000, 1, 1), 241s max=datetime(2000, 10, 10) 241s )] 241s ) 241s form = form_class(MultiDict(test_field='2000-2-2')) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_date_field.py:18: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'max': '2000-10-10', 'min': '2000-01-01', 'type': 'date', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________ TestDateTimeField.test_assigns_required_from_validator ____________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ___________________ TestDateTimeField.test_renders_autofocus ___________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'datetime', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ___________________ TestDateTimeField.test_renders_required ____________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ___________________ TestDateTimeField.test_renders_disabled ____________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'datetime', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ___________________ TestDateTimeField.test_renders_readonly ____________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'datetime', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s __________________ TestDateTimeField.test_assigns_min_and_max __________________ 241s 241s self = 241s 241s def test_assigns_min_and_max(self): 241s form_class = self.init_form( 241s validators=[DateRange( 241s min=datetime(2000, 1, 1), 241s max=datetime(2000, 10, 10) 241s )] 241s ) 241s form = form_class(MultiDict(test_field='2000-2-2')) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_date_time_field.py:18: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'max': '2000-10-10T00:00:00Z', 'min': '2000-01-01T00:00:00Z', 'type': 'datetime', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _________ TestDateTimeLocalField.test_assigns_required_from_validator __________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime-local', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ________________ TestDateTimeLocalField.test_renders_autofocus _________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'datetime-local', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _________________ TestDateTimeLocalField.test_renders_required _________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime-local', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _________________ TestDateTimeLocalField.test_renders_disabled _________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'datetime-local', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _________________ TestDateTimeLocalField.test_renders_readonly _________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'datetime-local', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _______________ TestDateTimeLocalField.test_assigns_min_and_max ________________ 241s 241s self = 241s 241s def test_assigns_min_and_max(self): 241s form_class = self.init_form( 241s validators=[DateRange( 241s min=datetime(2000, 1, 1), 241s max=datetime(2000, 10, 10) 241s )] 241s ) 241s form = form_class(MultiDict(test_field='2000-2-2')) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_date_time_local_field.py:18: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'max': '2000-10-10T00:00:00', 'min': '2000-01-01T00:00:00', 'type': 'datetime-local', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________ TestDecimalField.test_assigns_required_from_validator _____________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'step': 'any', 'type': 'number', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ___________________ TestDecimalField.test_renders_autofocus ____________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestDecimalField.test_renders_required ____________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestDecimalField.test_renders_disabled ____________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestDecimalField.test_renders_readonly ____________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s __________________ TestDecimalField.test_assigns_min_and_max ___________________ 241s 241s self = 241s 241s def test_assigns_min_and_max(self): 241s form_class = self.init_form( 241s validators=[NumberRange(min=2, max=10)] 241s ) 241s form = form_class(MultiDict(test_field=3)) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_decimal_field.py:16: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'max': 10, 'min': 2, 'step': 'any', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ______________________ TestDecimalField.test_assigns_step ______________________ 241s 241s self = 241s 241s def test_assigns_step(self): 241s form_class = self.init_form( 241s widget=NumberInput(step='0.1') 241s ) 241s form = form_class(MultiDict(test_field=3)) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_decimal_field.py:26: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'step': '0.1', 'type': 'number', 'value': 3} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _______ TestIntIntervalField.test_field_rendering_when_validation_fails ________ 241s 241s self = 241s 241s def test_field_rendering_when_validation_fails(self): 241s form_class = self.init_form() 241s form = form_class(MultiDict(interval='invalid')) 241s form.validate() 241s > assert 'value="invalid"' in str(form.interval) 241s 241s tests/fields/test_int_interval_field.py:34: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'interval', 'type': 'text', 'value': 'invalid'} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ______ TestFloatIntervalField.test_field_rendering_when_validation_fails _______ 241s 241s self = 241s 241s def test_field_rendering_when_validation_fails(self): 241s form_class = self.init_form() 241s form = form_class(MultiDict(interval='invalid')) 241s form.validate() 241s > assert 'value="invalid"' in str(form.interval) 241s 241s tests/fields/test_int_interval_field.py:34: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'interval', 'type': 'text', 'value': 'invalid'} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________ TestIntegerField.test_assigns_required_from_validator _____________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'step': '1', 'type': 'number', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ___________________ TestIntegerField.test_renders_autofocus ____________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestIntegerField.test_renders_required ____________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestIntegerField.test_renders_disabled ____________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestIntegerField.test_renders_readonly ____________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'number', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s __________________ TestIntegerField.test_assigns_min_and_max ___________________ 241s 241s self = 241s 241s def test_assigns_min_and_max(self): 241s form_class = self.init_form(validators=[NumberRange(min=2, max=10)]) 241s form = form_class(MultiDict(test_field=3)) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_integer_field.py:13: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'max': 10, 'min': 2, 'step': '1', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________ TestSearchField.test_assigns_required_from_validator _____________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'search', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestSearchField.test_renders_autofocus ____________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'search', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestSearchField.test_renders_required _____________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'search', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestSearchField.test_renders_disabled _____________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'search', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestSearchField.test_renders_readonly _____________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'search', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestSelectField.test_option_selected _____________________ 241s 241s self = 241s 241s def test_option_selected(self): 241s form_class = self.init_form(choices=self.choices) 241s 241s obj = Dummy() 241s obj.fruit = 'peach' 241s form = form_class( 241s obj=obj 241s ) 241s > assert ( 241s '' in 241s str(form.fruit) 241s ) 241s 241s tests/fields/test_select_field.py:74: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 241s select_params = 'id="fruit" name="fruit"' 241s html = ['"] 241s if field.has_groups(): 241s for group, choices in field.iter_groups(): 241s optgroup_params = html_params(label=group) 241s html.append(f"") 241s for choice in choices: 241s val, label, selected, render_kw = choice 241s html.append(self.render_option(val, label, selected, **render_kw)) 241s html.append("") 241s else: 241s for choice in field.iter_choices(): 241s > val, label, selected, render_kw = choice 241s E ValueError: not enough values to unpack (expected 4, got 3) 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 241s ______ TestSelectField.test_nested_option_selected_by_field_default_value ______ 241s 241s self = 241s 241s def test_nested_option_selected_by_field_default_value(self): 241s form_class = self.init_form( 241s choices=self.choices, default='pear' 241s ) 241s form = form_class() 241s > assert ( 241s '' in 241s str(form.fruit) 241s ) 241s 241s tests/fields/test_select_field.py:84: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 241s select_params = 'id="fruit" name="fruit"' 241s html = ['"] 241s if field.has_groups(): 241s for group, choices in field.iter_groups(): 241s optgroup_params = html_params(label=group) 241s html.append(f"") 241s for choice in choices: 241s val, label, selected, render_kw = choice 241s html.append(self.render_option(val, label, selected, **render_kw)) 241s html.append("") 241s else: 241s for choice in field.iter_choices(): 241s > val, label, selected, render_kw = choice 241s E ValueError: not enough values to unpack (expected 4, got 3) 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 241s _________ TestSelectField.test_option_selected_by_field_default_value __________ 241s 241s self = 241s 241s def test_option_selected_by_field_default_value(self): 241s choices = [ 241s ('apple', 'Apple'), 241s ('peach', 'Peach'), 241s ('pear', 'Pear') 241s ] 241s form_class = self.init_form( 241s choices=choices, default='pear' 241s ) 241s form = form_class() 241s > assert ( 241s '' in 241s str(form.fruit) 241s ) 241s 241s tests/fields/test_select_field.py:99: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 241s select_params = 'id="fruit" name="fruit"' 241s html = ['"] 241s if field.has_groups(): 241s for group, choices in field.iter_groups(): 241s optgroup_params = html_params(label=group) 241s html.append(f"") 241s for choice in choices: 241s val, label, selected, render_kw = choice 241s html.append(self.render_option(val, label, selected, **render_kw)) 241s html.append("") 241s else: 241s for choice in field.iter_choices(): 241s > val, label, selected, render_kw = choice 241s E ValueError: not enough values to unpack (expected 4, got 3) 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 241s _____ TestSelectField.test_callable_option_selected_by_field_default_value _____ 241s 241s self = 241s 241s def test_callable_option_selected_by_field_default_value(self): 241s def choices(): 241s return [ 241s ('apple', 'Apple'), 241s ('peach', 'Peach'), 241s ('pear', 'Pear') 241s ] 241s form_class = self.init_form( 241s choices=choices, default='pear' 241s ) 241s form = form_class() 241s > assert ( 241s '' in 241s str(form.fruit) 241s ) 241s 241s tests/fields/test_select_field.py:115: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 241s select_params = 'id="fruit" name="fruit"' 241s html = ['"] 241s if field.has_groups(): 241s for group, choices in field.iter_groups(): 241s optgroup_params = html_params(label=group) 241s html.append(f"") 241s for choice in choices: 241s val, label, selected, render_kw = choice 241s html.append(self.render_option(val, label, selected, **render_kw)) 241s html.append("") 241s else: 241s for choice in field.iter_choices(): 241s > val, label, selected, render_kw = choice 241s E ValueError: not enough values to unpack (expected 4, got 3) 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 241s _________________ TestSelectMultipleField.test_option_selected _________________ 241s 241s self = 241s 241s def test_option_selected(self): 241s form_class = self.init_form(choices=self.choices) 241s 241s obj = Dummy() 241s obj.fruits = ['peach'] 241s form = form_class( 241s obj=obj 241s ) 241s > assert ( 241s '' in 241s str(form.fruits) 241s ) 241s 241s tests/fields/test_select_multiple_field.py:55: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'fruits', 'multiple': True}, flags = 241s k = '__weakref__', select_params = 'id="fruits" multiple name="fruits"' 241s html = ['"] 241s if field.has_groups(): 241s for group, choices in field.iter_groups(): 241s optgroup_params = html_params(label=group) 241s html.append(f"") 241s for choice in choices: 241s val, label, selected, render_kw = choice 241s html.append(self.render_option(val, label, selected, **render_kw)) 241s html.append("") 241s else: 241s for choice in field.iter_choices(): 241s > val, label, selected, render_kw = choice 241s E ValueError: not enough values to unpack (expected 4, got 3) 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 241s _____________ TestSplitDateTimeField.test_assigns_required_to_date _____________ 241s 241s self = 241s 241s def test_assigns_required_to_date(self): 241s form_class = self.init_form(datetime_form={ 241s 'date': {'validators': [DataRequired()]} 241s }) 241s form = form_class() 241s > assert str(form.test_field.date) == ( 241s '' 241s ) 241s 241s tests/fields/test_split_date_time_field.py:22: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field-date', 'required': True, 'type': 'date', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ________________ TestSplitDateTimeField.test_renders_date_field ________________ 241s 241s self = 241s 241s def test_renders_date_field(self): 241s form_class = self.init_form() 241s form = form_class() 241s > assert str(form.test_field.date) == ( 241s '' 241s ) 241s 241s tests/fields/test_split_date_time_field.py:30: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field-date', 'type': 'date', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________ TestSplitDateTimeField.test_assigns_required_to_time _____________ 241s 241s self = 241s 241s def test_assigns_required_to_time(self): 241s form_class = self.init_form(datetime_form={ 241s 'time': {'validators': [DataRequired()]} 241s }) 241s form = form_class() 241s > assert str(form.test_field.time) == ( 241s '' 241s ) 241s 241s tests/fields/test_split_date_time_field.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field-time', 'required': True, 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ________________ TestSplitDateTimeField.test_renders_time_field ________________ 241s 241s self = 241s 241s def test_renders_time_field(self): 241s form_class = self.init_form() 241s form = form_class() 241s > assert str(form.test_field.time) == ( 241s '' 241s ) 241s 241s tests/fields/test_split_date_time_field.py:48: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field-time', 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________ TestStringField.test_assigns_required_from_validator _____________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'text', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestStringField.test_renders_autofocus ____________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'text', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestStringField.test_renders_required _____________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'text', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestStringField.test_renders_disabled _____________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'text', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestStringField.test_renders_readonly _____________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'text', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ______________ TestTimeField.test_assigns_required_from_validator ______________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestTimeField.test_renders_autofocus _____________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestTimeField.test_renders_required ______________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestTimeField.test_renders_disabled ______________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _____________________ TestTimeField.test_renders_readonly ______________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ____________________ TestTimeField.test_assigns_min_and_max ____________________ 241s 241s self = 241s 241s def test_assigns_min_and_max(self): 241s form_class = self.init_form( 241s validators=[TimeRange( 241s min=time(12, 12), 241s max=time(13, 30) 241s )] 241s ) 241s form = form_class(MultiDict(test_field='13:20')) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_time_field.py:44: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'max': '13:30:00', 'min': '12:12:00', 'type': 'time', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ______________ TestTimeField.test_renders_input_time_at_midnight _______________ 241s 241s self = 241s 241s def test_renders_input_time_at_midnight(self): 241s form_class = self.init_form() 241s form = form_class(MultiDict(test_field='00:00')) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_time_field.py:52: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'type': 'time', 'value': '00:00'} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ________ TestTimeFieldWithSeconds.test_assigns_required_from_validator _________ 241s 241s self = 241s 241s def test_assigns_required_from_validator(self): 241s form_class = self.init_form( 241s validators=[DataRequired()] 241s ) 241s form = form_class() 241s assert ( 241s ' ) in str(form.test_field) 241s 241s tests/__init__.py:31: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _______________ TestTimeFieldWithSeconds.test_renders_autofocus ________________ 241s 241s self = 241s 241s def test_renders_autofocus(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s autofocus=True 241s ) 241s ) 241s form = form_class() 241s > assert 'autofocus' in str(form.test_field) 241s 241s tests/__init__.py:40: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ________________ TestTimeFieldWithSeconds.test_renders_required ________________ 241s 241s self = 241s 241s def test_renders_required(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s required=True 241s ) 241s ) 241s form = form_class() 241s > assert 'required' in str(form.test_field) 241s 241s tests/__init__.py:49: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ________________ TestTimeFieldWithSeconds.test_renders_disabled ________________ 241s 241s self = 241s 241s def test_renders_disabled(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s disabled=True 241s ) 241s ) 241s form = form_class() 241s > assert 'disabled' in str(form.test_field) 241s 241s tests/__init__.py:58: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ________________ TestTimeFieldWithSeconds.test_renders_readonly ________________ 241s 241s self = 241s 241s def test_renders_readonly(self): 241s form_class = self.init_form( 241s widget=self.field_class.widget.__class__( 241s readonly=True 241s ) 241s ) 241s form = form_class() 241s > assert 'readonly' in str(form.test_field) 241s 241s tests/__init__.py:67: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'time', 'value': ''} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s ______________ TestTimeFieldWithSeconds.test_assigns_min_and_max _______________ 241s 241s self = 241s 241s def test_assigns_min_and_max(self): 241s form_class = self.init_form( 241s validators=[TimeRange( 241s min=time(12, 12), 241s max=time(13, 30) 241s )] 241s ) 241s form = form_class(MultiDict(test_field='13:20')) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_time_field.py:44: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'max': '13:30:00', 'min': '12:12:00', 'type': 'time', ...} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s _________ TestTimeFieldWithSeconds.test_renders_input_time_at_midnight _________ 241s 241s self = 241s 241s def test_renders_input_time_at_midnight(self): 241s form_class = self.init_form() 241s form = form_class(MultiDict(test_field='00:00')) 241s > assert str(form.test_field) == ( 241s '' 241s ) 241s 241s tests/fields/test_time_field.py:52: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 241s return self() 241s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 241s return self.meta.render_field(self, kwargs) 241s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 241s return field.widget(field, **render_kw) 241s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 241s return super(HTML5Input, self).__call__(field, **options_copy) 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s field = 241s kwargs = {'id': 'test_field', 'type': 'time', 'value': '00:00'} 241s flags = , k = '__class__' 241s 241s def __call__(self, field, **kwargs): 241s kwargs.setdefault("id", field.id) 241s kwargs.setdefault("type", self.input_type) 241s if "value" not in kwargs: 241s kwargs["value"] = field._value() 241s flags = getattr(field, "flags", {}) 241s for k in dir(flags): 241s > if k in self.validation_attrs and k not in kwargs: 241s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 241s 241s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 241s =========================== short test summary info ============================ 241s FAILED tests/fields/test_color_field.py::TestColorField::test_field_rendering_when_validation_fails 241s FAILED tests/fields/test_date_field.py::TestDateField::test_assigns_required_from_validator 241s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_autofocus 241s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_required 241s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_disabled 241s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_readonly 241s FAILED tests/fields/test_date_field.py::TestDateField::test_assigns_min_and_max 241s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_assigns_required_from_validator 241s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_autofocus 241s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_required 241s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_disabled 241s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_readonly 241s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_assigns_min_and_max 241s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_assigns_required_from_validator 241s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_autofocus 241s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_required 241s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_disabled 241s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_readonly 241s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_assigns_min_and_max 241s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_required_from_validator 241s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_autofocus 241s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_required 241s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_disabled 241s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_readonly 241s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_min_and_max 241s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_step 241s FAILED tests/fields/test_int_interval_field.py::TestIntIntervalField::test_field_rendering_when_validation_fails 241s FAILED tests/fields/test_int_interval_field.py::TestFloatIntervalField::test_field_rendering_when_validation_fails 241s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_assigns_required_from_validator 241s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_autofocus 241s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_required 241s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_disabled 241s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_readonly 241s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_assigns_min_and_max 241s FAILED tests/fields/test_search_field.py::TestSearchField::test_assigns_required_from_validator 241s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_autofocus 241s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_required 241s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_disabled 241s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_readonly 241s FAILED tests/fields/test_select_field.py::TestSelectField::test_option_selected 241s FAILED tests/fields/test_select_field.py::TestSelectField::test_nested_option_selected_by_field_default_value 241s FAILED tests/fields/test_select_field.py::TestSelectField::test_option_selected_by_field_default_value 241s FAILED tests/fields/test_select_field.py::TestSelectField::test_callable_option_selected_by_field_default_value 241s FAILED tests/fields/test_select_multiple_field.py::TestSelectMultipleField::test_option_selected 241s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_assigns_required_to_date 241s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_renders_date_field 241s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_assigns_required_to_time 241s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_renders_time_field 241s FAILED tests/fields/test_string_field.py::TestStringField::test_assigns_required_from_validator 241s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_autofocus 241s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_required 241s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_disabled 241s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_readonly 241s FAILED tests/fields/test_time_field.py::TestTimeField::test_assigns_required_from_validator 241s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_autofocus 241s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_required 241s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_disabled 241s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_readonly 241s FAILED tests/fields/test_time_field.py::TestTimeField::test_assigns_min_and_max 241s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_input_time_at_midnight 241s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_assigns_required_from_validator 241s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_autofocus 241s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_required 241s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_disabled 241s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_readonly 241s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_assigns_min_and_max 241s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_input_time_at_midnight 241s ======================== 67 failed, 68 passed in 2.56s ========================= 241s autopkgtest [17:40:23]: test upstream: -----------------------] 242s upstream FAIL non-zero exit status 1 242s autopkgtest [17:40:24]: test upstream: - - - - - - - - - - results - - - - - - - - - - 242s autopkgtest [17:40:24]: @@@@@@@@@@@@@@@@@@@@ summary 242s upstream FAIL non-zero exit status 1 254s virt: nova [W] Using flock in prodstack6-ppc64el 254s virt: Creating nova instance adt-plucky-ppc64el-wtforms-components-20241109-173621-juju-7f2275-prod-proposed-migration-environment-2-41d1e67a-c3ba-4e99-9c5e-cbc21e988c63 from image adt/ubuntu-plucky-ppc64el-server-20241108.img (UUID 211c30ab-5e06-4166-a7df-df534accb012)...