0s autopkgtest [13:21:15]: starting date and time: 2024-11-04 13:21:15+0000 0s autopkgtest [13:21:15]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [13:21:15]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0auax2hc/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.227 lxd-armhf-10.145.243.227:autopkgtest/ubuntu/plucky/armhf 53s autopkgtest [13:22:08]: testbed dpkg architecture: armhf 55s autopkgtest [13:22:10]: testbed apt version: 2.9.8 55s autopkgtest [13:22:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 63s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 63s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [31.2 kB] 63s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [2268 kB] 63s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 63s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [209 kB] 63s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [1640 kB] 63s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [23.9 kB] 64s Fetched 4430 kB in 1s (3489 kB/s) 64s Reading package lists... 81s tee: /proc/self/fd/2: Permission denied 105s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 105s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 105s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 105s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 106s Reading package lists... 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 107s Calculating upgrade... 108s The following packages were automatically installed and are no longer required: 108s libperl5.38t64 perl-modules-5.38 108s Use 'apt autoremove' to remove them. 108s The following NEW packages will be installed: 108s libperl5.40 perl-modules-5.40 108s The following packages will be upgraded: 108s base-files distro-info-data fwupd gcc-14-base info install-info iproute2 108s libatomic1 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 108s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 108s libblockdev-utils3 libblockdev3 libdb5.3t64 libdw1t64 libelf1t64 libevdev2 108s libftdi1-2 libfwupd2 libgcc-s1 libinih1 libkeyutils1 liblocale-gettext-perl 108s libpipeline1 libsgutils2-1.46-2 libstdc++6 libtext-charwidth-perl 108s libtext-iconv-perl motd-news-config nano perl perl-base python3-configobj 108s python3-json-pointer python3-lazr.uri python3-zipp sg3-utils sg3-utils-udev 108s vim-common vim-tiny xxd 108s 45 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 19.6 MB of archives. 108s After this operation, 42.8 MB of additional disk space will be used. 108s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.5ubuntu2 [5274 B] 108s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.5ubuntu2 [68.6 kB] 108s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.0-6 [3214 kB] 108s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.0-6 [4140 kB] 109s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.0-6 [262 kB] 109s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.0-6 [1674 kB] 109s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf liblocale-gettext-perl armhf 1.07-7build1 [15.0 kB] 109s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libtext-iconv-perl armhf 1.7-8build4 [12.8 kB] 109s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libtext-charwidth-perl armhf 0.04-11build4 [9128 B] 109s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libdb5.3t64 armhf 5.3.28+dfsg2-9 [655 kB] 109s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-7ubuntu1 [7842 B] 109s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-7ubuntu1 [51.2 kB] 109s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-7ubuntu1 [711 kB] 109s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-7ubuntu1 [40.8 kB] 109s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf install-info armhf 7.1.1-1 [61.4 kB] 109s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info-data all 0.63 [6588 B] 109s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libdw1t64 armhf 0.192-4 [243 kB] 109s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libelf1t64 armhf 0.192-4 [50.2 kB] 109s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.10.0-2ubuntu1 [1082 kB] 109s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libkeyutils1 armhf 1.6.3-4ubuntu2 [8712 B] 109s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0777-1ubuntu1 [693 kB] 109s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0777-1ubuntu1 [394 kB] 109s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0777-1ubuntu1 [66.8 kB] 109s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf info armhf 7.1.1-1 [126 kB] 109s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libevdev2 armhf 1.13.3+dfsg-1 [29.7 kB] 109s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libpipeline1 armhf 1.5.8-1 [26.9 kB] 109s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.2-1 [276 kB] 109s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd2 armhf 1.9.26-2 [125 kB] 109s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 1.9.26-2 [4404 kB] 109s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.2.0-2 [17.4 kB] 109s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.2.0-2 [22.3 kB] 109s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.2.0-2 [34.3 kB] 109s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.2.0-2 [6552 B] 109s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.2.0-2 [13.4 kB] 109s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.2.0-2 [17.6 kB] 109s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.2.0-2 [16.5 kB] 109s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.2.0-2 [8942 B] 109s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.2.0-2 [44.2 kB] 109s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-7 [25.7 kB] 109s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libinih1 armhf 58-1ubuntu1 [6750 B] 109s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libsgutils2-1.46-2 armhf 1.46-3ubuntu5 [82.5 kB] 109s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf python3-configobj all 5.0.9-1 [33.9 kB] 109s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-2 [8396 B] 109s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-4 [13.6 kB] 109s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf python3-zipp all 3.20.2-1 [10.1 kB] 109s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf sg3-utils armhf 1.46-3ubuntu5 [816 kB] 109s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf sg3-utils-udev all 1.46-3ubuntu5 [5916 B] 110s Preconfiguring packages ... 110s Fetched 19.6 MB in 2s (12.1 MB/s) 110s (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 ... 59386 files and directories currently installed.) 110s Preparing to unpack .../motd-news-config_13.5ubuntu2_all.deb ... 110s Unpacking motd-news-config (13.5ubuntu2) over (13.3ubuntu6) ... 110s Preparing to unpack .../base-files_13.5ubuntu2_armhf.deb ... 110s Unpacking base-files (13.5ubuntu2) over (13.3ubuntu6) ... 110s Setting up base-files (13.5ubuntu2) ... 110s Installing new version of config file /etc/issue ... 110s Installing new version of config file /etc/issue.net ... 110s Installing new version of config file /etc/lsb-release ... 111s motd-news.service is a disabled or a static unit not running, not starting it. 111s (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 ... 59386 files and directories currently installed.) 111s Preparing to unpack .../perl_5.40.0-6_armhf.deb ... 111s Unpacking perl (5.40.0-6) over (5.38.2-5) ... 111s Selecting previously unselected package perl-modules-5.40. 111s Preparing to unpack .../perl-modules-5.40_5.40.0-6_all.deb ... 111s Unpacking perl-modules-5.40 (5.40.0-6) ... 111s Selecting previously unselected package libperl5.40:armhf. 111s Preparing to unpack .../libperl5.40_5.40.0-6_armhf.deb ... 111s Unpacking libperl5.40:armhf (5.40.0-6) ... 111s Preparing to unpack .../perl-base_5.40.0-6_armhf.deb ... 111s Unpacking perl-base (5.40.0-6) over (5.38.2-5) ... 112s Setting up perl-base (5.40.0-6) ... 112s (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 ... 61462 files and directories currently installed.) 112s Preparing to unpack .../liblocale-gettext-perl_1.07-7build1_armhf.deb ... 112s Unpacking liblocale-gettext-perl (1.07-7build1) over (1.07-7) ... 112s Preparing to unpack .../libtext-iconv-perl_1.7-8build4_armhf.deb ... 112s Unpacking libtext-iconv-perl:armhf (1.7-8build4) over (1.7-8build3) ... 112s Preparing to unpack .../libtext-charwidth-perl_0.04-11build4_armhf.deb ... 112s Unpacking libtext-charwidth-perl:armhf (0.04-11build4) over (0.04-11build3) ... 112s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-9_armhf.deb ... 112s Unpacking libdb5.3t64:armhf (5.3.28+dfsg2-9) over (5.3.28+dfsg2-7) ... 112s Setting up libdb5.3t64:armhf (5.3.28+dfsg2-9) ... 112s (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 ... 61462 files and directories currently installed.) 112s Preparing to unpack .../libatomic1_14.2.0-7ubuntu1_armhf.deb ... 112s Unpacking libatomic1:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 112s Preparing to unpack .../gcc-14-base_14.2.0-7ubuntu1_armhf.deb ... 112s Unpacking gcc-14-base:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 112s Setting up gcc-14-base:armhf (14.2.0-7ubuntu1) ... 112s (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 ... 61462 files and directories currently installed.) 112s Preparing to unpack .../libstdc++6_14.2.0-7ubuntu1_armhf.deb ... 112s Unpacking libstdc++6:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 112s Setting up libstdc++6:armhf (14.2.0-7ubuntu1) ... 112s (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 ... 61462 files and directories currently installed.) 112s Preparing to unpack .../libgcc-s1_14.2.0-7ubuntu1_armhf.deb ... 112s Unpacking libgcc-s1:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 112s Setting up libgcc-s1:armhf (14.2.0-7ubuntu1) ... 112s (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 ... 61462 files and directories currently installed.) 112s Preparing to unpack .../install-info_7.1.1-1_armhf.deb ... 112s Unpacking install-info (7.1.1-1) over (7.1-3build2) ... 112s Setting up install-info (7.1.1-1) ... 113s (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 ... 61462 files and directories currently installed.) 113s Preparing to unpack .../00-distro-info-data_0.63_all.deb ... 113s Unpacking distro-info-data (0.63) over (0.62) ... 113s Preparing to unpack .../01-libdw1t64_0.192-4_armhf.deb ... 113s Unpacking libdw1t64:armhf (0.192-4) over (0.191-2) ... 113s Preparing to unpack .../02-libelf1t64_0.192-4_armhf.deb ... 113s Unpacking libelf1t64:armhf (0.192-4) over (0.191-2) ... 113s Preparing to unpack .../03-iproute2_6.10.0-2ubuntu1_armhf.deb ... 113s Unpacking iproute2 (6.10.0-2ubuntu1) over (6.10.0-2) ... 113s Preparing to unpack .../04-libkeyutils1_1.6.3-4ubuntu2_armhf.deb ... 113s Unpacking libkeyutils1:armhf (1.6.3-4ubuntu2) over (1.6.3-3build1) ... 113s Preparing to unpack .../05-vim-tiny_2%3a9.1.0777-1ubuntu1_armhf.deb ... 113s Unpacking vim-tiny (2:9.1.0777-1ubuntu1) over (2:9.1.0496-1ubuntu6) ... 113s Preparing to unpack .../06-vim-common_2%3a9.1.0777-1ubuntu1_all.deb ... 113s Unpacking vim-common (2:9.1.0777-1ubuntu1) over (2:9.1.0496-1ubuntu6) ... 113s Preparing to unpack .../07-xxd_2%3a9.1.0777-1ubuntu1_armhf.deb ... 113s Unpacking xxd (2:9.1.0777-1ubuntu1) over (2:9.1.0496-1ubuntu6) ... 113s Preparing to unpack .../08-info_7.1.1-1_armhf.deb ... 113s Unpacking info (7.1.1-1) over (7.1-3build2) ... 113s Preparing to unpack .../09-libevdev2_1.13.3+dfsg-1_armhf.deb ... 113s Unpacking libevdev2:armhf (1.13.3+dfsg-1) over (1.13.2+dfsg-1) ... 113s Preparing to unpack .../10-libpipeline1_1.5.8-1_armhf.deb ... 113s Unpacking libpipeline1:armhf (1.5.8-1) over (1.5.7-2) ... 113s Preparing to unpack .../11-nano_8.2-1_armhf.deb ... 113s Unpacking nano (8.2-1) over (8.1-1) ... 113s Preparing to unpack .../12-libfwupd2_1.9.26-2_armhf.deb ... 113s Unpacking libfwupd2:armhf (1.9.26-2) over (1.9.24-1) ... 113s Preparing to unpack .../13-fwupd_1.9.26-2_armhf.deb ... 114s Unpacking fwupd (1.9.26-2) over (1.9.24-1) ... 114s Preparing to unpack .../14-libblockdev-utils3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-utils3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../15-libblockdev-crypto3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-crypto3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../16-libblockdev-fs3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-fs3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../17-libblockdev-loop3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-loop3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../18-libblockdev-mdraid3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-mdraid3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../19-libblockdev-nvme3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-nvme3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../20-libblockdev-part3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-part3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../21-libblockdev-swap3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev-swap3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../22-libblockdev3_3.2.0-2_armhf.deb ... 114s Unpacking libblockdev3:armhf (3.2.0-2) over (3.1.1-2) ... 114s Preparing to unpack .../23-libftdi1-2_1.5-7_armhf.deb ... 114s Unpacking libftdi1-2:armhf (1.5-7) over (1.5-6build5) ... 114s Preparing to unpack .../24-libinih1_58-1ubuntu1_armhf.deb ... 114s Unpacking libinih1:armhf (58-1ubuntu1) over (55-1ubuntu2) ... 114s Preparing to unpack .../25-libsgutils2-1.46-2_1.46-3ubuntu5_armhf.deb ... 114s Unpacking libsgutils2-1.46-2:armhf (1.46-3ubuntu5) over (1.46-3ubuntu4) ... 114s Preparing to unpack .../26-python3-configobj_5.0.9-1_all.deb ... 114s Unpacking python3-configobj (5.0.9-1) over (5.0.8-3) ... 114s Preparing to unpack .../27-python3-json-pointer_2.4-2_all.deb ... 114s Unpacking python3-json-pointer (2.4-2) over (2.0-0ubuntu1) ... 114s Preparing to unpack .../28-python3-lazr.uri_1.0.6-4_all.deb ... 114s Unpacking python3-lazr.uri (1.0.6-4) over (1.0.6-3) ... 115s Preparing to unpack .../29-python3-zipp_3.20.2-1_all.deb ... 115s Unpacking python3-zipp (3.20.2-1) over (3.20.0-1) ... 115s Preparing to unpack .../30-sg3-utils_1.46-3ubuntu5_armhf.deb ... 115s Unpacking sg3-utils (1.46-3ubuntu5) over (1.46-3ubuntu4) ... 115s Preparing to unpack .../31-sg3-utils-udev_1.46-3ubuntu5_all.deb ... 115s Unpacking sg3-utils-udev (1.46-3ubuntu5) over (1.46-3ubuntu4) ... 115s Setting up libpipeline1:armhf (1.5.8-1) ... 115s Setting up motd-news-config (13.5ubuntu2) ... 115s Setting up libtext-iconv-perl:armhf (1.7-8build4) ... 115s Setting up libtext-charwidth-perl:armhf (0.04-11build4) ... 115s Setting up libkeyutils1:armhf (1.6.3-4ubuntu2) ... 115s Setting up distro-info-data (0.63) ... 115s Setting up libinih1:armhf (58-1ubuntu1) ... 115s Setting up libfwupd2:armhf (1.9.26-2) ... 115s Setting up libsgutils2-1.46-2:armhf (1.46-3ubuntu5) ... 115s Setting up python3-lazr.uri (1.0.6-4) ... 115s Setting up python3-zipp (3.20.2-1) ... 115s Setting up xxd (2:9.1.0777-1ubuntu1) ... 115s Setting up libelf1t64:armhf (0.192-4) ... 115s Setting up libdw1t64:armhf (0.192-4) ... 115s Setting up libftdi1-2:armhf (1.5-7) ... 115s Setting up python3-configobj (5.0.9-1) ... 115s Setting up vim-common (2:9.1.0777-1ubuntu1) ... 115s Installing new version of config file /etc/vim/vimrc ... 115s Setting up libblockdev-utils3:armhf (3.2.0-2) ... 115s Setting up libatomic1:armhf (14.2.0-7ubuntu1) ... 115s Setting up libblockdev-nvme3:armhf (3.2.0-2) ... 115s Setting up nano (8.2-1) ... 115s Setting up libblockdev-fs3:armhf (3.2.0-2) ... 115s Setting up perl-modules-5.40 (5.40.0-6) ... 115s Setting up python3-json-pointer (2.4-2) ... 115s Setting up libevdev2:armhf (1.13.3+dfsg-1) ... 115s Setting up fwupd (1.9.26-2) ... 116s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 116s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 116s fwupd.service is a disabled or a static unit not running, not starting it. 116s Setting up info (7.1.1-1) ... 116s Setting up liblocale-gettext-perl (1.07-7build1) ... 116s Setting up sg3-utils (1.46-3ubuntu5) ... 116s Setting up libblockdev-mdraid3:armhf (3.2.0-2) ... 116s Setting up libblockdev-crypto3:armhf (3.2.0-2) ... 116s Setting up libblockdev-swap3:armhf (3.2.0-2) ... 116s Setting up iproute2 (6.10.0-2ubuntu1) ... 116s Setting up libblockdev-loop3:armhf (3.2.0-2) ... 116s Setting up vim-tiny (2:9.1.0777-1ubuntu1) ... 116s Setting up libblockdev3:armhf (3.2.0-2) ... 116s Installing new version of config file /etc/libblockdev/3/conf.d/00-default.cfg ... 116s Setting up libblockdev-part3:armhf (3.2.0-2) ... 116s Setting up sg3-utils-udev (1.46-3ubuntu5) ... 116s update-initramfs: deferring update (trigger activated) 116s Setting up libperl5.40:armhf (5.40.0-6) ... 116s Setting up perl (5.40.0-6) ... 116s Processing triggers for dbus (1.14.10-4ubuntu5) ... 116s Processing triggers for install-info (7.1.1-1) ... 116s Processing triggers for initramfs-tools (0.142ubuntu34) ... 116s Processing triggers for libc-bin (2.40-1ubuntu3) ... 117s Processing triggers for man-db (2.12.1-3) ... 118s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-1ubuntu10) ... 118s update-initramfs: deferring update (trigger activated) 118s Processing triggers for initramfs-tools (0.142ubuntu34) ... 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 120s The following packages will be REMOVED: 120s libperl5.38t64* perl-modules-5.38* 120s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 120s After this operation, 41.6 MB disk space will be freed. 120s (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 ... 61462 files and directories currently installed.) 120s Removing libperl5.38t64:armhf (5.38.2-5) ... 120s Removing perl-modules-5.38 (5.38.2-5) ... 120s Processing triggers for man-db (2.12.1-3) ... 120s Processing triggers for libc-bin (2.40-1ubuntu3) ... 122s autopkgtest [13:23:17]: rebooting testbed after setup commands that affected boot 189s autopkgtest [13:24:24]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 216s autopkgtest [13:24:51]: @@@@@@@@@@@@@@@@@@@@ apt-source wtforms-components 226s Get:1 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (dsc) [2563 B] 226s Get:2 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (tar) [24.2 kB] 226s Get:3 http://ftpmaster.internal/ubuntu plucky/universe wtforms-components 0.10.5-5 (diff) [2920 B] 226s gpgv: Signature made Mon Jul 1 13:54:17 2024 UTC 226s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 226s gpgv: issuer "tchet@debian.org" 226s gpgv: Can't check signature: No public key 226s dpkg-source: warning: cannot verify inline signature for ./wtforms-components_0.10.5-5.dsc: no acceptable signature found 226s autopkgtest [13:25:01]: testing package wtforms-components version 0.10.5-5 228s autopkgtest [13:25:03]: build not needed 230s autopkgtest [13:25:05]: test upstream: preparing testbed 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 241s Starting pkgProblemResolver with broken count: 0 241s Starting 2 pkgProblemResolver with broken count: 0 241s Done 242s The following additional packages will be installed: 242s libjs-jquery libjs-sphinxdoc libjs-underscore python3-all python3-colour 242s python3-decorator python3-dnspython python3-email-validator python3-flexmock 242s python3-infinity python3-iniconfig python3-intervals python3-packaging 242s python3-pluggy python3-pytest python3-six python3-validators python3-wtforms 242s python3-wtforms-components python3-wtforms-test 242s Suggested packages: 242s python3-trio python3-aioquic python3-h2 python3-httpx python3-httpcore 242s python3-django python3-django-localflavor python3-sqlalchemy 242s Recommended packages: 242s javascript-common 242s The following NEW packages will be installed: 242s autopkgtest-satdep libjs-jquery libjs-sphinxdoc libjs-underscore python3-all 242s python3-colour python3-decorator python3-dnspython python3-email-validator 242s python3-flexmock python3-infinity python3-iniconfig python3-intervals 242s python3-packaging python3-pluggy python3-pytest python3-six 242s python3-validators python3-wtforms python3-wtforms-components 242s python3-wtforms-test 242s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 242s Need to get 1314 kB/1315 kB of archives. 242s After this operation, 5368 kB of additional disk space will be used. 242s Get:1 /tmp/autopkgtest.MYV5RH/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [764 B] 242s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 242s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 242s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-3 [157 kB] 242s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 242s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-colour all 0.1.5-4 [22.8 kB] 242s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf python3-decorator all 5.1.1-5 [10.1 kB] 242s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 242s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-email-validator all 2.2.0-1 [28.5 kB] 242s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-flexmock all 0.12.1-1 [20.6 kB] 242s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-infinity all 1.5-3 [3988 B] 242s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 242s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-intervals all 0.9.2-2 [11.6 kB] 242s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 242s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 242s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.2-1 [251 kB] 243s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf python3-six all 1.16.0-7 [13.1 kB] 243s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-validators all 0.20.0-2 [15.2 kB] 243s Get:19 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-wtforms all 3.2.1-1 [64.0 kB] 243s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wtforms-components all 0.10.5-5 [23.7 kB] 243s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wtforms-test all 0.1.1-3 [13.6 kB] 243s Fetched 1314 kB in 1s (1863 kB/s) 243s Selecting previously unselected package libjs-jquery. 243s (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 ... 59532 files and directories currently installed.) 243s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 243s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 243s Selecting previously unselected package libjs-underscore. 243s Preparing to unpack .../01-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 243s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 243s Selecting previously unselected package libjs-sphinxdoc. 243s Preparing to unpack .../02-libjs-sphinxdoc_7.4.7-3_all.deb ... 243s Unpacking libjs-sphinxdoc (7.4.7-3) ... 243s Selecting previously unselected package python3-all. 243s Preparing to unpack .../03-python3-all_3.12.6-0ubuntu1_armhf.deb ... 243s Unpacking python3-all (3.12.6-0ubuntu1) ... 243s Selecting previously unselected package python3-colour. 243s Preparing to unpack .../04-python3-colour_0.1.5-4_all.deb ... 243s Unpacking python3-colour (0.1.5-4) ... 243s Selecting previously unselected package python3-decorator. 243s Preparing to unpack .../05-python3-decorator_5.1.1-5_all.deb ... 243s Unpacking python3-decorator (5.1.1-5) ... 243s Selecting previously unselected package python3-dnspython. 243s Preparing to unpack .../06-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 243s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 243s Selecting previously unselected package python3-email-validator. 243s Preparing to unpack .../07-python3-email-validator_2.2.0-1_all.deb ... 243s Unpacking python3-email-validator (2.2.0-1) ... 243s Selecting previously unselected package python3-flexmock. 243s Preparing to unpack .../08-python3-flexmock_0.12.1-1_all.deb ... 243s Unpacking python3-flexmock (0.12.1-1) ... 243s Selecting previously unselected package python3-infinity. 243s Preparing to unpack .../09-python3-infinity_1.5-3_all.deb ... 243s Unpacking python3-infinity (1.5-3) ... 243s Selecting previously unselected package python3-iniconfig. 243s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 243s Unpacking python3-iniconfig (1.1.1-2) ... 243s Selecting previously unselected package python3-intervals. 243s Preparing to unpack .../11-python3-intervals_0.9.2-2_all.deb ... 243s Unpacking python3-intervals (0.9.2-2) ... 243s Selecting previously unselected package python3-packaging. 243s Preparing to unpack .../12-python3-packaging_24.1-1_all.deb ... 243s Unpacking python3-packaging (24.1-1) ... 243s Selecting previously unselected package python3-pluggy. 243s Preparing to unpack .../13-python3-pluggy_1.5.0-1_all.deb ... 243s Unpacking python3-pluggy (1.5.0-1) ... 243s Selecting previously unselected package python3-pytest. 243s Preparing to unpack .../14-python3-pytest_8.3.2-1_all.deb ... 243s Unpacking python3-pytest (8.3.2-1) ... 244s Selecting previously unselected package python3-six. 244s Preparing to unpack .../15-python3-six_1.16.0-7_all.deb ... 244s Unpacking python3-six (1.16.0-7) ... 244s Selecting previously unselected package python3-validators. 244s Preparing to unpack .../16-python3-validators_0.20.0-2_all.deb ... 244s Unpacking python3-validators (0.20.0-2) ... 244s Selecting previously unselected package python3-wtforms. 244s Preparing to unpack .../17-python3-wtforms_3.2.1-1_all.deb ... 244s Unpacking python3-wtforms (3.2.1-1) ... 244s Selecting previously unselected package python3-wtforms-components. 244s Preparing to unpack .../18-python3-wtforms-components_0.10.5-5_all.deb ... 244s Unpacking python3-wtforms-components (0.10.5-5) ... 244s Selecting previously unselected package python3-wtforms-test. 244s Preparing to unpack .../19-python3-wtforms-test_0.1.1-3_all.deb ... 244s Unpacking python3-wtforms-test (0.1.1-3) ... 244s Selecting previously unselected package autopkgtest-satdep. 244s Preparing to unpack .../20-1-autopkgtest-satdep.deb ... 244s Unpacking autopkgtest-satdep (0) ... 244s Setting up python3-iniconfig (1.1.1-2) ... 244s Setting up python3-wtforms (3.2.1-1) ... 244s Setting up python3-all (3.12.6-0ubuntu1) ... 244s Setting up python3-six (1.16.0-7) ... 244s Setting up python3-decorator (5.1.1-5) ... 244s Setting up python3-packaging (24.1-1) ... 244s Setting up python3-colour (0.1.5-4) ... 245s Setting up python3-pluggy (1.5.0-1) ... 245s Setting up python3-infinity (1.5-3) ... 245s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 245s Setting up python3-email-validator (2.2.0-1) ... 245s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 245s Setting up python3-flexmock (0.12.1-1) ... 245s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 245s Setting up python3-intervals (0.9.2-2) ... 245s Setting up python3-validators (0.20.0-2) ... 246s Setting up python3-pytest (8.3.2-1) ... 246s Setting up libjs-sphinxdoc (7.4.7-3) ... 246s Setting up python3-wtforms-components (0.10.5-5) ... 246s Setting up python3-wtforms-test (0.1.1-3) ... 246s Setting up autopkgtest-satdep (0) ... 246s Processing triggers for man-db (2.12.1-3) ... 258s (Reading database ... 60282 files and directories currently installed.) 258s Removing autopkgtest-satdep (0) ... 264s autopkgtest [13:25:39]: test upstream: [----------------------- 266s -=-=-=-=-=-=-=- running tests for python3.12 -=-=-=-=-=-=-=-=- 266s $ python3.12 -m pytest tests 266s ============================= test session starts ============================== 266s platform linux -- Python 3.12.7, pytest-8.3.2, pluggy-1.5.0 266s rootdir: /tmp/autopkgtest.MYV5RH/autopkgtest_tmp 266s plugins: typeguard-4.3.0, flexmock-0.12.1 266s collected 135 items 266s 266s tests/fields/test_color_field.py ..F. [ 2%] 267s tests/fields/test_date_field.py FFFFFF [ 7%] 267s tests/fields/test_date_time_field.py FFFFFF [ 11%] 267s tests/fields/test_date_time_local_field.py FFFFFF [ 16%] 267s tests/fields/test_decimal_field.py FFFFFFF [ 21%] 267s tests/fields/test_int_interval_field.py ..F...F. [ 27%] 267s tests/fields/test_integer_field.py FFFFFF [ 31%] 267s tests/fields/test_json_field.py .. [ 33%] 267s tests/fields/test_passive_hidden_field.py . [ 34%] 267s tests/fields/test_read_only_fields.py . [ 34%] 267s tests/fields/test_search_field.py FFFFF [ 38%] 267s tests/fields/test_select_field.py ...FFFF. [ 44%] 267s tests/fields/test_select_multiple_field.py .F [ 45%] 268s tests/fields/test_split_date_time_field.py FFFF...... [ 53%] 268s tests/fields/test_string_field.py FFFFF [ 57%] 268s tests/fields/test_time_field.py FFFFF..FFFFFFF..FF [ 70%] 268s tests/test_chain_validator.py . [ 71%] 268s tests/test_date_range_validator.py ... [ 73%] 268s tests/test_email_validator.py ......................... [ 91%] 268s tests/test_if_validator.py ... [ 94%] 268s tests/test_read_only_function.py ... [ 96%] 268s tests/test_time_range_validator.py ... [ 98%] 268s tests/test_widgets.py .. [100%] 268s 268s =================================== FAILURES =================================== 268s __________ TestColorField.test_field_rendering_when_validation_fails ___________ 268s 268s self = 268s 268s def test_field_rendering_when_validation_fails(self): 268s form_class = self.init_form() 268s form = form_class(MultiDict(color='invalid')) 268s form.validate() 268s > assert 'value="invalid"' in str(form.color) 268s 268s tests/fields/test_color_field.py:44: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'color', 'type': 'color', 'value': 'invalid'} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'ColorInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ______________ TestDateField.test_assigns_required_from_validator ______________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'date', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestDateField.test_renders_autofocus _____________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'date', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestDateField.test_renders_required ______________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'date', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestDateField.test_renders_disabled ______________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'date', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestDateField.test_renders_readonly ______________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'date', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestDateField.test_assigns_min_and_max ____________________ 268s 268s self = 268s 268s def test_assigns_min_and_max(self): 268s form_class = self.init_form( 268s validators=[DateRange( 268s min=datetime(2000, 1, 1), 268s max=datetime(2000, 10, 10) 268s )] 268s ) 268s form = form_class(MultiDict(test_field='2000-2-2')) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_date_field.py:18: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'max': '2000-10-10', 'min': '2000-01-01', 'type': 'date', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________ TestDateTimeField.test_assigns_required_from_validator ____________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ___________________ TestDateTimeField.test_renders_autofocus ___________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'datetime', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ___________________ TestDateTimeField.test_renders_required ____________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ___________________ TestDateTimeField.test_renders_disabled ____________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'datetime', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ___________________ TestDateTimeField.test_renders_readonly ____________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'datetime', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s __________________ TestDateTimeField.test_assigns_min_and_max __________________ 268s 268s self = 268s 268s def test_assigns_min_and_max(self): 268s form_class = self.init_form( 268s validators=[DateRange( 268s min=datetime(2000, 1, 1), 268s max=datetime(2000, 10, 10) 268s )] 268s ) 268s form = form_class(MultiDict(test_field='2000-2-2')) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_date_time_field.py:18: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'max': '2000-10-10T00:00:00Z', 'min': '2000-01-01T00:00:00Z', 'type': 'datetime', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _________ TestDateTimeLocalField.test_assigns_required_from_validator __________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime-local', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ________________ TestDateTimeLocalField.test_renders_autofocus _________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'datetime-local', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _________________ TestDateTimeLocalField.test_renders_required _________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'datetime-local', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _________________ TestDateTimeLocalField.test_renders_disabled _________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'datetime-local', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _________________ TestDateTimeLocalField.test_renders_readonly _________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'datetime-local', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _______________ TestDateTimeLocalField.test_assigns_min_and_max ________________ 268s 268s self = 268s 268s def test_assigns_min_and_max(self): 268s form_class = self.init_form( 268s validators=[DateRange( 268s min=datetime(2000, 1, 1), 268s max=datetime(2000, 10, 10) 268s )] 268s ) 268s form = form_class(MultiDict(test_field='2000-2-2')) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_date_time_local_field.py:18: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'max': '2000-10-10T00:00:00', 'min': '2000-01-01T00:00:00', 'type': 'datetime-local', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateTimeLocalInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________ TestDecimalField.test_assigns_required_from_validator _____________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'step': 'any', 'type': 'number', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ___________________ TestDecimalField.test_renders_autofocus ____________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestDecimalField.test_renders_required ____________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestDecimalField.test_renders_disabled ____________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestDecimalField.test_renders_readonly ____________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s __________________ TestDecimalField.test_assigns_min_and_max ___________________ 268s 268s self = 268s 268s def test_assigns_min_and_max(self): 268s form_class = self.init_form( 268s validators=[NumberRange(min=2, max=10)] 268s ) 268s form = form_class(MultiDict(test_field=3)) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_decimal_field.py:16: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'max': 10, 'min': 2, 'step': 'any', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ______________________ TestDecimalField.test_assigns_step ______________________ 268s 268s self = 268s 268s def test_assigns_step(self): 268s form_class = self.init_form( 268s widget=NumberInput(step='0.1') 268s ) 268s form = form_class(MultiDict(test_field=3)) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_decimal_field.py:26: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'step': '0.1', 'type': 'number', 'value': 3} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _______ TestIntIntervalField.test_field_rendering_when_validation_fails ________ 268s 268s self = 268s 268s def test_field_rendering_when_validation_fails(self): 268s form_class = self.init_form() 268s form = form_class(MultiDict(interval='invalid')) 268s form.validate() 268s > assert 'value="invalid"' in str(form.interval) 268s 268s tests/fields/test_int_interval_field.py:34: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'interval', 'type': 'text', 'value': 'invalid'} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ______ TestFloatIntervalField.test_field_rendering_when_validation_fails _______ 268s 268s self = 268s 268s def test_field_rendering_when_validation_fails(self): 268s form_class = self.init_form() 268s form = form_class(MultiDict(interval='invalid')) 268s form.validate() 268s > assert 'value="invalid"' in str(form.interval) 268s 268s tests/fields/test_int_interval_field.py:34: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'interval', 'type': 'text', 'value': 'invalid'} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________ TestIntegerField.test_assigns_required_from_validator _____________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'step': '1', 'type': 'number', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ___________________ TestIntegerField.test_renders_autofocus ____________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestIntegerField.test_renders_required ____________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestIntegerField.test_renders_disabled ____________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestIntegerField.test_renders_readonly ____________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'number', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s __________________ TestIntegerField.test_assigns_min_and_max ___________________ 268s 268s self = 268s 268s def test_assigns_min_and_max(self): 268s form_class = self.init_form(validators=[NumberRange(min=2, max=10)]) 268s form = form_class(MultiDict(test_field=3)) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_integer_field.py:13: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'max': 10, 'min': 2, 'step': '1', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'NumberInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________ TestSearchField.test_assigns_required_from_validator _____________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'search', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestSearchField.test_renders_autofocus ____________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'search', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestSearchField.test_renders_required _____________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'search', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestSearchField.test_renders_disabled _____________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'search', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestSearchField.test_renders_readonly _____________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'search', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'SearchInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestSelectField.test_option_selected _____________________ 268s 268s self = 268s 268s def test_option_selected(self): 268s form_class = self.init_form(choices=self.choices) 268s 268s obj = Dummy() 268s obj.fruit = 'peach' 268s form = form_class( 268s obj=obj 268s ) 268s > assert ( 268s '' in 268s str(form.fruit) 268s ) 268s 268s tests/fields/test_select_field.py:74: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 268s select_params = 'id="fruit" name="fruit"' 268s html = ['"] 268s if field.has_groups(): 268s for group, choices in field.iter_groups(): 268s optgroup_params = html_params(label=group) 268s html.append(f"") 268s for choice in choices: 268s val, label, selected, render_kw = choice 268s html.append(self.render_option(val, label, selected, **render_kw)) 268s html.append("") 268s else: 268s for choice in field.iter_choices(): 268s > val, label, selected, render_kw = choice 268s E ValueError: not enough values to unpack (expected 4, got 3) 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 268s ______ TestSelectField.test_nested_option_selected_by_field_default_value ______ 268s 268s self = 268s 268s def test_nested_option_selected_by_field_default_value(self): 268s form_class = self.init_form( 268s choices=self.choices, default='pear' 268s ) 268s form = form_class() 268s > assert ( 268s '' in 268s str(form.fruit) 268s ) 268s 268s tests/fields/test_select_field.py:84: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 268s select_params = 'id="fruit" name="fruit"' 268s html = ['"] 268s if field.has_groups(): 268s for group, choices in field.iter_groups(): 268s optgroup_params = html_params(label=group) 268s html.append(f"") 268s for choice in choices: 268s val, label, selected, render_kw = choice 268s html.append(self.render_option(val, label, selected, **render_kw)) 268s html.append("") 268s else: 268s for choice in field.iter_choices(): 268s > val, label, selected, render_kw = choice 268s E ValueError: not enough values to unpack (expected 4, got 3) 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 268s _________ TestSelectField.test_option_selected_by_field_default_value __________ 268s 268s self = 268s 268s def test_option_selected_by_field_default_value(self): 268s choices = [ 268s ('apple', 'Apple'), 268s ('peach', 'Peach'), 268s ('pear', 'Pear') 268s ] 268s form_class = self.init_form( 268s choices=choices, default='pear' 268s ) 268s form = form_class() 268s > assert ( 268s '' in 268s str(form.fruit) 268s ) 268s 268s tests/fields/test_select_field.py:99: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 268s select_params = 'id="fruit" name="fruit"' 268s html = ['"] 268s if field.has_groups(): 268s for group, choices in field.iter_groups(): 268s optgroup_params = html_params(label=group) 268s html.append(f"") 268s for choice in choices: 268s val, label, selected, render_kw = choice 268s html.append(self.render_option(val, label, selected, **render_kw)) 268s html.append("") 268s else: 268s for choice in field.iter_choices(): 268s > val, label, selected, render_kw = choice 268s E ValueError: not enough values to unpack (expected 4, got 3) 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 268s _____ TestSelectField.test_callable_option_selected_by_field_default_value _____ 268s 268s self = 268s 268s def test_callable_option_selected_by_field_default_value(self): 268s def choices(): 268s return [ 268s ('apple', 'Apple'), 268s ('peach', 'Peach'), 268s ('pear', 'Pear') 268s ] 268s form_class = self.init_form( 268s choices=choices, default='pear' 268s ) 268s form = form_class() 268s > assert ( 268s '' in 268s str(form.fruit) 268s ) 268s 268s tests/fields/test_select_field.py:115: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'fruit'}, flags = , k = '__weakref__' 268s select_params = 'id="fruit" name="fruit"' 268s html = ['"] 268s if field.has_groups(): 268s for group, choices in field.iter_groups(): 268s optgroup_params = html_params(label=group) 268s html.append(f"") 268s for choice in choices: 268s val, label, selected, render_kw = choice 268s html.append(self.render_option(val, label, selected, **render_kw)) 268s html.append("") 268s else: 268s for choice in field.iter_choices(): 268s > val, label, selected, render_kw = choice 268s E ValueError: not enough values to unpack (expected 4, got 3) 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 268s _________________ TestSelectMultipleField.test_option_selected _________________ 268s 268s self = 268s 268s def test_option_selected(self): 268s form_class = self.init_form(choices=self.choices) 268s 268s obj = Dummy() 268s obj.fruits = ['peach'] 268s form = form_class( 268s obj=obj 268s ) 268s > assert ( 268s '' in 268s str(form.fruits) 268s ) 268s 268s tests/fields/test_select_multiple_field.py:55: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'fruits', 'multiple': True}, flags = 268s k = '__weakref__', select_params = 'id="fruits" multiple name="fruits"' 268s html = ['"] 268s if field.has_groups(): 268s for group, choices in field.iter_groups(): 268s optgroup_params = html_params(label=group) 268s html.append(f"") 268s for choice in choices: 268s val, label, selected, render_kw = choice 268s html.append(self.render_option(val, label, selected, **render_kw)) 268s html.append("") 268s else: 268s for choice in field.iter_choices(): 268s > val, label, selected, render_kw = choice 268s E ValueError: not enough values to unpack (expected 4, got 3) 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:374: ValueError 268s _____________ TestSplitDateTimeField.test_assigns_required_to_date _____________ 268s 268s self = 268s 268s def test_assigns_required_to_date(self): 268s form_class = self.init_form(datetime_form={ 268s 'date': {'validators': [DataRequired()]} 268s }) 268s form = form_class() 268s > assert str(form.test_field.date) == ( 268s '' 268s ) 268s 268s tests/fields/test_split_date_time_field.py:22: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field-date', 'required': True, 'type': 'date', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ________________ TestSplitDateTimeField.test_renders_date_field ________________ 268s 268s self = 268s 268s def test_renders_date_field(self): 268s form_class = self.init_form() 268s form = form_class() 268s > assert str(form.test_field.date) == ( 268s '' 268s ) 268s 268s tests/fields/test_split_date_time_field.py:30: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field-date', 'type': 'date', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'DateInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________ TestSplitDateTimeField.test_assigns_required_to_time _____________ 268s 268s self = 268s 268s def test_assigns_required_to_time(self): 268s form_class = self.init_form(datetime_form={ 268s 'time': {'validators': [DataRequired()]} 268s }) 268s form = form_class() 268s > assert str(form.test_field.time) == ( 268s '' 268s ) 268s 268s tests/fields/test_split_date_time_field.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field-time', 'required': True, 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ________________ TestSplitDateTimeField.test_renders_time_field ________________ 268s 268s self = 268s 268s def test_renders_time_field(self): 268s form_class = self.init_form() 268s form = form_class() 268s > assert str(form.test_field.time) == ( 268s '' 268s ) 268s 268s tests/fields/test_split_date_time_field.py:48: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field-time', 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________ TestStringField.test_assigns_required_from_validator _____________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'text', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestStringField.test_renders_autofocus ____________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'text', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestStringField.test_renders_required _____________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'text', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestStringField.test_renders_disabled _____________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'text', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestStringField.test_renders_readonly _____________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'text', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TextInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ______________ TestTimeField.test_assigns_required_from_validator ______________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestTimeField.test_renders_autofocus _____________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestTimeField.test_renders_required ______________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestTimeField.test_renders_disabled ______________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _____________________ TestTimeField.test_renders_readonly ______________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ____________________ TestTimeField.test_assigns_min_and_max ____________________ 268s 268s self = 268s 268s def test_assigns_min_and_max(self): 268s form_class = self.init_form( 268s validators=[TimeRange( 268s min=time(12, 12), 268s max=time(13, 30) 268s )] 268s ) 268s form = form_class(MultiDict(test_field='13:20')) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_time_field.py:44: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'max': '13:30:00', 'min': '12:12:00', 'type': 'time', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ______________ TestTimeField.test_renders_input_time_at_midnight _______________ 268s 268s self = 268s 268s def test_renders_input_time_at_midnight(self): 268s form_class = self.init_form() 268s form = form_class(MultiDict(test_field='00:00')) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_time_field.py:52: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'type': 'time', 'value': '00:00'} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ________ TestTimeFieldWithSeconds.test_assigns_required_from_validator _________ 268s 268s self = 268s 268s def test_assigns_required_from_validator(self): 268s form_class = self.init_form( 268s validators=[DataRequired()] 268s ) 268s form = form_class() 268s assert ( 268s ' ) in str(form.test_field) 268s 268s tests/__init__.py:31: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _______________ TestTimeFieldWithSeconds.test_renders_autofocus ________________ 268s 268s self = 268s 268s def test_renders_autofocus(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s autofocus=True 268s ) 268s ) 268s form = form_class() 268s > assert 'autofocus' in str(form.test_field) 268s 268s tests/__init__.py:40: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'autofocus': True, 'id': 'test_field', 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ________________ TestTimeFieldWithSeconds.test_renders_required ________________ 268s 268s self = 268s 268s def test_renders_required(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s required=True 268s ) 268s ) 268s form = form_class() 268s > assert 'required' in str(form.test_field) 268s 268s tests/__init__.py:49: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'required': True, 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ________________ TestTimeFieldWithSeconds.test_renders_disabled ________________ 268s 268s self = 268s 268s def test_renders_disabled(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s disabled=True 268s ) 268s ) 268s form = form_class() 268s > assert 'disabled' in str(form.test_field) 268s 268s tests/__init__.py:58: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'disabled': True, 'id': 'test_field', 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ________________ TestTimeFieldWithSeconds.test_renders_readonly ________________ 268s 268s self = 268s 268s def test_renders_readonly(self): 268s form_class = self.init_form( 268s widget=self.field_class.widget.__class__( 268s readonly=True 268s ) 268s ) 268s form = form_class() 268s > assert 'readonly' in str(form.test_field) 268s 268s tests/__init__.py:67: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'readonly': True, 'type': 'time', 'value': ''} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s ______________ TestTimeFieldWithSeconds.test_assigns_min_and_max _______________ 268s 268s self = 268s 268s def test_assigns_min_and_max(self): 268s form_class = self.init_form( 268s validators=[TimeRange( 268s min=time(12, 12), 268s max=time(13, 30) 268s )] 268s ) 268s form = form_class(MultiDict(test_field='13:20')) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_time_field.py:44: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'max': '13:30:00', 'min': '12:12:00', 'type': 'time', ...} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s _________ TestTimeFieldWithSeconds.test_renders_input_time_at_midnight _________ 268s 268s self = 268s 268s def test_renders_input_time_at_midnight(self): 268s form_class = self.init_form() 268s form = form_class(MultiDict(test_field='00:00')) 268s > assert str(form.test_field) == ( 268s '' 268s ) 268s 268s tests/fields/test_time_field.py:52: 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:141: in __str__ 268s return self() 268s /usr/lib/python3/dist-packages/wtforms/fields/core.py:164: in __call__ 268s return self.meta.render_field(self, kwargs) 268s /usr/lib/python3/dist-packages/wtforms/meta.py:64: in render_field 268s return field.widget(field, **render_kw) 268s /usr/lib/python3/dist-packages/wtforms_components/widgets.py:81: in __call__ 268s return super(HTML5Input, self).__call__(field, **options_copy) 268s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268s 268s self = 268s field = 268s kwargs = {'id': 'test_field', 'type': 'time', 'value': '00:00'} 268s flags = , k = '__class__' 268s 268s def __call__(self, field, **kwargs): 268s kwargs.setdefault("id", field.id) 268s kwargs.setdefault("type", self.input_type) 268s if "value" not in kwargs: 268s kwargs["value"] = field._value() 268s flags = getattr(field, "flags", {}) 268s for k in dir(flags): 268s > if k in self.validation_attrs and k not in kwargs: 268s E AttributeError: 'TimeInput' object has no attribute 'validation_attrs' 268s 268s /usr/lib/python3/dist-packages/wtforms/widgets/core.py:176: AttributeError 268s =========================== short test summary info ============================ 268s FAILED tests/fields/test_color_field.py::TestColorField::test_field_rendering_when_validation_fails 268s FAILED tests/fields/test_date_field.py::TestDateField::test_assigns_required_from_validator 268s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_autofocus 268s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_required 268s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_disabled 268s FAILED tests/fields/test_date_field.py::TestDateField::test_renders_readonly 268s FAILED tests/fields/test_date_field.py::TestDateField::test_assigns_min_and_max 268s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_assigns_required_from_validator 268s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_autofocus 268s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_required 268s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_disabled 268s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_renders_readonly 268s FAILED tests/fields/test_date_time_field.py::TestDateTimeField::test_assigns_min_and_max 268s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_assigns_required_from_validator 268s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_autofocus 268s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_required 268s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_disabled 268s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_renders_readonly 268s FAILED tests/fields/test_date_time_local_field.py::TestDateTimeLocalField::test_assigns_min_and_max 268s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_required_from_validator 268s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_autofocus 268s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_required 268s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_disabled 268s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_renders_readonly 268s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_min_and_max 268s FAILED tests/fields/test_decimal_field.py::TestDecimalField::test_assigns_step 268s FAILED tests/fields/test_int_interval_field.py::TestIntIntervalField::test_field_rendering_when_validation_fails 268s FAILED tests/fields/test_int_interval_field.py::TestFloatIntervalField::test_field_rendering_when_validation_fails 268s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_assigns_required_from_validator 268s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_autofocus 268s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_required 268s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_disabled 268s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_renders_readonly 268s FAILED tests/fields/test_integer_field.py::TestIntegerField::test_assigns_min_and_max 268s FAILED tests/fields/test_search_field.py::TestSearchField::test_assigns_required_from_validator 268s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_autofocus 268s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_required 268s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_disabled 268s FAILED tests/fields/test_search_field.py::TestSearchField::test_renders_readonly 268s FAILED tests/fields/test_select_field.py::TestSelectField::test_option_selected 268s FAILED tests/fields/test_select_field.py::TestSelectField::test_nested_option_selected_by_field_default_value 268s FAILED tests/fields/test_select_field.py::TestSelectField::test_option_selected_by_field_default_value 268s FAILED tests/fields/test_select_field.py::TestSelectField::test_callable_option_selected_by_field_default_value 268s FAILED tests/fields/test_select_multiple_field.py::TestSelectMultipleField::test_option_selected 268s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_assigns_required_to_date 268s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_renders_date_field 268s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_assigns_required_to_time 268s FAILED tests/fields/test_split_date_time_field.py::TestSplitDateTimeField::test_renders_time_field 268s FAILED tests/fields/test_string_field.py::TestStringField::test_assigns_required_from_validator 268s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_autofocus 268s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_required 268s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_disabled 268s FAILED tests/fields/test_string_field.py::TestStringField::test_renders_readonly 268s FAILED tests/fields/test_time_field.py::TestTimeField::test_assigns_required_from_validator 268s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_autofocus 268s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_required 268s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_disabled 268s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_readonly 268s FAILED tests/fields/test_time_field.py::TestTimeField::test_assigns_min_and_max 268s FAILED tests/fields/test_time_field.py::TestTimeField::test_renders_input_time_at_midnight 268s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_assigns_required_from_validator 268s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_autofocus 268s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_required 268s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_disabled 268s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_readonly 268s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_assigns_min_and_max 268s FAILED tests/fields/test_time_field.py::TestTimeFieldWithSeconds::test_renders_input_time_at_midnight 268s ======================== 67 failed, 68 passed in 1.95s ========================= 269s autopkgtest [13:25:44]: test upstream: -----------------------] 273s autopkgtest [13:25:47]: test upstream: - - - - - - - - - - results - - - - - - - - - - 273s upstream FAIL non-zero exit status 1 276s autopkgtest [13:25:51]: @@@@@@@@@@@@@@@@@@@@ summary 276s upstream FAIL non-zero exit status 1