<86>Jan 18 08:53:13 userdel[1836430]: delete user 'rooter' <86>Jan 18 08:53:13 userdel[1836430]: removed group 'rooter' owned by 'rooter' <86>Jan 18 08:53:13 userdel[1836430]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 18 08:53:13 groupadd[1836452]: group added to /etc/group: name=rooter, GID=1802 <86>Jan 18 08:53:13 groupadd[1836452]: group added to /etc/gshadow: name=rooter <86>Jan 18 08:53:13 groupadd[1836452]: new group: name=rooter, GID=1802 <86>Jan 18 08:53:13 useradd[1836467]: new user: name=rooter, UID=1802, GID=1802, home=/root, shell=/bin/bash, from=none <86>Jan 18 08:53:13 userdel[1836485]: delete user 'builder' <86>Jan 18 08:53:13 userdel[1836485]: removed group 'builder' owned by 'builder' <86>Jan 18 08:53:13 userdel[1836485]: removed shadow group 'builder' owned by 'builder' <86>Jan 18 08:53:13 groupadd[1836500]: group added to /etc/group: name=builder, GID=1803 <86>Jan 18 08:53:13 groupadd[1836500]: group added to /etc/gshadow: name=builder <86>Jan 18 08:53:13 groupadd[1836500]: new group: name=builder, GID=1803 <86>Jan 18 08:53:13 useradd[1836509]: new user: name=builder, UID=1803, GID=1803, home=/usr/src, shell=/bin/bash, from=none <13>Jan 18 08:53:17 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Jan 18 08:53:17 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Jan 18 08:53:17 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700247 installed <13>Jan 18 08:53:17 rpmi: openssl-config-3.2.0-alt1 sisyphus+366659.140.4.1 1736956949 installed <13>Jan 18 08:53:17 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Jan 18 08:53:17 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Jan 18 08:53:17 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Jan 18 08:53:17 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jan 18 08:53:17 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jan 18 08:53:17 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Jan 18 08:53:17 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Jan 18 08:53:17 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Jan 18 08:53:17 rpmi: libcrypto3-3.3.2-alt1 sisyphus+366659.40.4.1 1736957175 installed <13>Jan 18 08:53:17 rpmi: libssl3-3.3.2-alt1 sisyphus+366659.40.4.1 1736957175 installed <13>Jan 18 08:53:17 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Jan 18 08:53:18 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Jan 18 08:53:18 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Jan 18 08:53:18 rpmi: tests-for-installed-python3-pkgs-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Jan 18 08:53:18 rpmi: rpm-build-python3-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Jan 18 08:53:20 rpmi: python3-module-six-1.17.0-alt1 sisyphus+364177.100.1.1 1733425205 installed <13>Jan 18 08:53:20 rpmi: python3-module-packaging-24.2-alt1 sisyphus+362183.100.1.1 1731315992 installed <13>Jan 18 08:53:20 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Jan 18 08:53:20 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Jan 18 08:53:20 rpmi: python3-module-attrs-24.2.0-alt2 sisyphus+355603.200.1.1 1724160494 installed <13>Jan 18 08:53:20 rpmi: python3-module-idna-3.10-alt1 sisyphus+358681.100.1.1 1727701241 installed <13>Jan 18 08:53:20 rpmi: python3-module-Pygments-2.19.1-alt1 sisyphus+368586.100.2.1 1737039695 installed <13>Jan 18 08:53:20 rpmi: python3-module-outcome-1.3.0-alt1 sisyphus+332382.100.1.1 1697882349 installed <13>Jan 18 08:53:20 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Jan 18 08:53:20 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734008167 installed <13>Jan 18 08:53:20 rpmi: libngtcp2.16-1.10.0-alt1 sisyphus+366376.200.1.1 1735020758 installed <13>Jan 18 08:53:20 rpmi: libngtcp2_crypto_gnutls8-1.10.0-alt1 sisyphus+366376.200.1.1 1735020758 installed <13>Jan 18 08:53:20 rpmi: python3-module-pyproject-metadata-0.9.0-alt1 sisyphus+360526.100.1.1 1729680788 installed <13>Jan 18 08:53:20 rpmi: python3-module-genshi-0.7.9-alt2 sisyphus+359540.100.1.1 1728646235 installed <13>Jan 18 08:53:20 rpmi: python3-module-smartypants-2.0.1-alt1 sisyphus+267704.100.2.1 1615566624 installed <13>Jan 18 08:53:20 rpmi: python3-module-tomli_w-1.2.0-alt1 sisyphus+369733.100.1.1 1737024677 installed <13>Jan 18 08:53:20 rpmi: python3-module-tomli-2.2.1-alt1 sisyphus+363592.100.1.1 1732803942 installed <13>Jan 18 08:53:20 rpmi: python3-module-pdm-alt-namespace-0.0.1-alt1 sisyphus+307894.100.1.1 1664987422 installed <13>Jan 18 08:53:20 rpmi: python3-module-mdurl-0.1.2-alt1 sisyphus+318894.1000.3.1 1682420700 installed <13>Jan 18 08:53:20 rpmi: python3-module-uc-micro-py-1.0.3-alt1 sisyphus+341790.100.1.1 1709309103 installed <13>Jan 18 08:53:20 rpmi: python3-module-linkify-it-py-2.0.3-alt1 sisyphus+343902.100.1.1 1711708185 installed <13>Jan 18 08:53:20 rpmi: python3-module-markdown-it-3.0.0-alt2 sisyphus+365460.100.1.1 1734639341 installed <13>Jan 18 08:53:20 rpmi: python3-module-markupsafe-1:3.0.2-alt1 sisyphus+360209.100.1.1 1729323052 installed <13>Jan 18 08:53:20 rpmi: python3-module-zipp-3.21.0-alt1 sisyphus+362195.100.2.1 1731487934 installed <13>Jan 18 08:53:20 rpmi: python3-module-importlib-metadata-8.5.0-alt1 sisyphus+357362.100.1.1 1726136861 installed <13>Jan 18 08:53:20 rpmi: python3-module-pytz-1:2024.1-alt1 sisyphus+353671.100.1.2 1722000143 installed <13>Jan 18 08:53:20 rpmi: python3-module-pyasn1-0.6.0-alt1 sisyphus+343691.100.1.1 1711530038 installed <13>Jan 18 08:53:20 rpmi: python3-module-urllib3-2:2.3.0-alt1 sisyphus+366320.100.2.1 1735116352 installed <13>Jan 18 08:53:20 rpmi: python3-module-wcwidth-0.2.13-alt1 sisyphus+341792.100.2.1 1709543329 installed <13>Jan 18 08:53:20 rpmi: python3-module-prettytable-2.1.0-alt1 sisyphus+269172.200.1.1 1617824839 installed <13>Jan 18 08:53:20 rpmi: python3-module-editables-0.5-alt1 sisyphus+325524.100.1.1 1690277257 installed <13>Jan 18 08:53:20 rpmi: python3-module-charset-normalizer-3.2.0-alt1 sisyphus+347396.200.2.1 1714733144 installed <13>Jan 18 08:53:20 rpmi: python3-module-requests-2.32.3-alt1 sisyphus+349946.100.1.1 1717059877 installed <13>Jan 18 08:53:20 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>Jan 18 08:53:20 rpmi: python3-module-cffi-1.17.1-alt1 sisyphus+357396.100.1.1 1726156488 installed <13>Jan 18 08:53:20 rpmi: python3-module-cryptography-44.0.0-alt1 sisyphus+368451.100.1.1 1736436014 installed <13>Jan 18 08:53:20 rpmi: python3-module-openssl-24.3.0-alt1 sisyphus+368451.200.1.1 1736436083 installed <13>Jan 18 08:53:20 rpmi: python3-module-service_identity-24.2.0-alt1 sisyphus+362235.100.1.1 1731336596 installed <13>Jan 18 08:53:20 rpmi: python3-module-bson-4.10.1-alt1 sisyphus+358819.100.1.1 1727869388 installed <13>Jan 18 08:53:21 rpmi: python3-module-pymongo-4.10.1-alt1 sisyphus+358819.100.1.1 1727869388 installed <13>Jan 18 08:53:21 rpmi: python3-module-bottle-1:0.12.25-alt1 sisyphus+316623.100.1.1 1678651894 installed <13>Jan 18 08:53:21 rpmi: python3-module-webencodings-0.5.1-alt3 sisyphus+359244.100.1.1 1728381102 installed <13>Jan 18 08:53:21 rpmi: python3-module-cssselect-1.2.0-alt1 sisyphus+317931.100.1.1 1680503903 installed <13>Jan 18 08:53:21 rpmi: python3-module-argcomplete-3.5.3-alt1 sisyphus+367511.100.1.1 1735893315 installed <13>Jan 18 08:53:21 rpmi: python3-module-servicemanager-2.0.7-alt1 sisyphus+275998.100.1.1 1624811123 installed <13>Jan 18 08:53:21 rpmi: python3-module-execnet-2.1.1-alt1 sisyphus+344737.100.1.1 1712657795 installed <13>Jan 18 08:53:21 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Jan 18 08:53:21 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Jan 18 08:53:21 rpmi: python3-module-pytest-8.3.4-alt1 sisyphus+363889.100.1.1 1733152874 installed <13>Jan 18 08:53:21 rpmi: python3-module-typing_extensions-4.12.2-alt1 sisyphus+351501.100.1.2 1719296652 installed <13>Jan 18 08:53:21 rpmi: python3-module-sniffio-1.3.1-alt1 sisyphus+341424.100.1.1 1708941879 installed <13>Jan 18 08:53:21 rpmi: python3-module-anyio-4.8.0-alt1 sisyphus+369638.100.3.3 1737040213 installed <13>Jan 18 08:53:21 rpmi: libxslt-1.1.39-alt1 sisyphus+349406.100.1.1 1716751808 installed <13>Jan 18 08:53:21 rpmi: python3-module-html5lib-1:1.1-alt1 sisyphus+278096.120.5.1 1626086978 installed <13>Jan 18 08:53:21 rpmi: python3-module-lxml-5.3.0-alt1 sisyphus+355253.100.1.1 1723745894 installed <13>Jan 18 08:53:21 rpmi: python3-module-soupsieve-2.3.1-alt1 sisyphus+297886.100.1.1 1649153481 installed <13>Jan 18 08:53:21 rpmi: python3-module-beautifulsoup4-4.12.3-alt2 sisyphus+359146.100.1.1 1728292225 installed <13>Jan 18 08:53:21 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed <13>Jan 18 08:53:21 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Jan 18 08:53:21 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed <13>Jan 18 08:53:21 rpmi: libnghttp3.9-1.7.0-alt1 sisyphus+366376.100.1.1 1735020698 installed <13>Jan 18 08:53:21 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118560 installed <13>Jan 18 08:53:21 rpmi: openldap-common-2.6.9-alt2 sisyphus+367501.300.4.1 1735841751 installed <13>Jan 18 08:53:21 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Jan 18 08:53:21 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Jan 18 08:53:21 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Jan 18 08:53:21 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Jan 18 08:53:21 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672120 installed <13>Jan 18 08:53:21 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Jan 18 08:53:21 rpmi: rsync-3.2.7-alt2 sisyphus+369548.100.1.1 1736880284 installed <13>Jan 18 08:53:21 rpmi: openssh-common-9.6p1-alt2 sisyphus+351911.100.1.1 1719838551 installed <13>Jan 18 08:53:21 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Jan 18 08:53:21 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed <13>Jan 18 08:53:21 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Jan 18 08:53:21 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729916 installed <86>Jan 18 08:53:21 groupadd[1857118]: group added to /etc/group: name=_keytab, GID=999 <86>Jan 18 08:53:21 groupadd[1857118]: group added to /etc/gshadow: name=_keytab <86>Jan 18 08:53:21 groupadd[1857118]: new group: name=_keytab, GID=999 <13>Jan 18 08:53:21 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed <13>Jan 18 08:53:21 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905438 installed <86>Jan 18 08:53:21 groupadd[1857277]: group added to /etc/group: name=sasl, GID=998 <86>Jan 18 08:53:21 groupadd[1857277]: group added to /etc/gshadow: name=sasl <86>Jan 18 08:53:21 groupadd[1857277]: new group: name=sasl, GID=998 <13>Jan 18 08:53:21 rpmi: libsasl2-3-2.1.28-alt2.1 sisyphus+367419.100.1.1 1735482553 installed <13>Jan 18 08:53:21 rpmi: libldap2-2.6.9-alt2 sisyphus+367501.300.4.1 1735841767 installed <13>Jan 18 08:53:21 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905244 installed <13>Jan 18 08:53:21 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed <86>Jan 18 08:53:21 groupadd[1857343]: group added to /etc/group: name=sshagent, GID=997 <86>Jan 18 08:53:21 groupadd[1857343]: group added to /etc/gshadow: name=sshagent <86>Jan 18 08:53:21 groupadd[1857343]: new group: name=sshagent, GID=997 <13>Jan 18 08:53:21 rpmi: openssh-clients-9.6p1-alt2 sisyphus+351911.100.1.1 1719838551 installed <13>Jan 18 08:53:21 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Jan 18 08:53:21 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Jan 18 08:53:21 rpmi: git-core-2.42.4-alt1 sisyphus+369547.100.1.1 1736878364 installed <13>Jan 18 08:53:21 rpmi: python3-module-watchfiles-0.21.0-alt2 sisyphus+345606.100.1.1 1713774131 installed <13>Jan 18 08:53:21 rpmi: python3-module-pytest-xdist-3.6.1-alt1 sisyphus+347405.100.1.1 1714737453 installed <13>Jan 18 08:53:21 rpmi: python3-module-pdm-backend-2.4.3-alt1 sisyphus+360580.100.1.1 1729759710 installed <13>Jan 18 08:53:21 rpmi: python3-module-feedgenerator-2.1.0-alt1.1 sisyphus+360819.100.2.1 1730136426 installed <13>Jan 18 08:53:21 rpmi: python3-module-markdown-3.7-alt1 sisyphus+356078.100.1.1 1724670316 installed <13>Jan 18 08:53:21 rpmi: python3-module-jinja2-3.1.5-alt1 sisyphus+369511.100.1.1 1736862713 installed <13>Jan 18 08:53:22 rpmi: python3-module-rich-13.9.4-alt1 sisyphus+361780.100.1.1 1730842428 installed <13>Jan 18 08:53:22 rpmi: python3-module-typogrify-2.1.0-alt1 sisyphus+369317.100.1.1 1736715868 installed <13>Jan 18 08:53:22 rpmi: python3-module-dateutil-2.8.3-alt0.git0586f4a sisyphus+338928.600.2.1 1706746480 installed <13>Jan 18 08:53:22 rpmi: python3-module-unidecode-1.3.8-alt1 sisyphus+350256.200.1.1 1717410867 installed <13>Jan 18 08:53:22 rpmi: python3-module-ordered-set-4.1.0-alt1 sisyphus+334370.100.1.1 1699955885 installed <13>Jan 18 08:53:22 rpmi: python3-module-docutils-0.20.1-alt1 sisyphus+323438.100.1.1 1687370718 installed <13>Jan 18 08:53:22 rpmi: python3-module-blinker-1.9.0-alt1 sisyphus+362571.300.7.1 1734000808 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-pelican-4.9.1-alt2.nosrc.rpm (w1.gzdio) <13>Jan 18 08:53:23 rpmi: python3-module-pyproject-installer-0.5.5-alt2 sisyphus+366395.100.1.1 1735032014 installed Installing python3-module-pelican-4.9.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.61430 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf pelican-4.9.1 + echo 'Source #0 (pelican-4.9.1.tar):' Source #0 (pelican-4.9.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/pelican-4.9.1.tar + cd pelican-4.9.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (pelican-4.9.1-tests-make-test_deprecated_attribute-compatible-with.patch):' Patch #0 (pelican-4.9.1-tests-make-test_deprecated_attribute-compatible-with.patch): + /usr/bin/patch -p1 patching file pelican/tests/test_utils.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.61430 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pelican-4.9.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/pelican-4.9.1 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/pelican-4.9.1/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/pelican-4.9.1/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: pdm.backend INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/pelican-4.9.1/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} - Adding .pdm-build/pelican-4.9.1.dist-info/METADATA -> pelican-4.9.1.dist-info/METADATA - Adding .pdm-build/pelican-4.9.1.dist-info/WHEEL -> pelican-4.9.1.dist-info/WHEEL - Adding .pdm-build/pelican-4.9.1.dist-info/entry_points.txt -> pelican-4.9.1.dist-info/entry_points.txt - Adding .pdm-build/pelican-4.9.1.dist-info/licenses/LICENSE -> pelican-4.9.1.dist-info/licenses/LICENSE - Adding pelican/__init__.py -> pelican/__init__.py - Adding pelican/__main__.py -> pelican/__main__.py - Adding pelican/cache.py -> pelican/cache.py - Adding pelican/contents.py -> pelican/contents.py - Adding pelican/generators.py -> pelican/generators.py - Adding pelican/log.py -> pelican/log.py - Adding pelican/paginator.py -> pelican/paginator.py - Adding pelican/plugins/_utils.py -> pelican/plugins/_utils.py - Adding pelican/plugins/signals.py -> pelican/plugins/signals.py - Adding pelican/readers.py -> pelican/readers.py - Adding pelican/rstdirectives.py -> pelican/rstdirectives.py - Adding pelican/server.py -> pelican/server.py - Adding pelican/settings.py -> pelican/settings.py - Adding pelican/signals.py -> pelican/signals.py - Adding pelican/tests/TestPages/bad_page.rst -> pelican/tests/TestPages/bad_page.rst - Adding pelican/tests/TestPages/draft_page.rst -> pelican/tests/TestPages/draft_page.rst - Adding pelican/tests/TestPages/draft_page_markdown.md -> pelican/tests/TestPages/draft_page_markdown.md - Adding pelican/tests/TestPages/draft_page_with_template.rst -> pelican/tests/TestPages/draft_page_with_template.rst - Adding pelican/tests/TestPages/hidden_page.rst -> pelican/tests/TestPages/hidden_page.rst - Adding pelican/tests/TestPages/hidden_page_markdown.md -> pelican/tests/TestPages/hidden_page_markdown.md - Adding pelican/tests/TestPages/hidden_page_with_template.rst -> pelican/tests/TestPages/hidden_page_with_template.rst - Adding pelican/tests/TestPages/page.rst -> pelican/tests/TestPages/page.rst - Adding pelican/tests/TestPages/page_markdown.md -> pelican/tests/TestPages/page_markdown.md - Adding pelican/tests/TestPages/page_used_for_sorting_test.rst -> pelican/tests/TestPages/page_used_for_sorting_test.rst - Adding pelican/tests/TestPages/page_with_category_and_tag_links.md -> pelican/tests/TestPages/page_with_category_and_tag_links.md - Adding pelican/tests/TestPages/page_with_static_links.md -> pelican/tests/TestPages/page_with_static_links.md - Adding pelican/tests/TestPages/page_with_template.rst -> pelican/tests/TestPages/page_with_template.rst - Adding pelican/tests/__init__.py -> pelican/tests/__init__.py - Adding pelican/tests/build_test/conftest.py -> pelican/tests/build_test/conftest.py - Adding pelican/tests/build_test/test_build_files.py -> pelican/tests/build_test/test_build_files.py - Adding pelican/tests/content/2012-11-29_rst_w_filename_meta#foo-bar.rst -> pelican/tests/content/2012-11-29_rst_w_filename_meta#foo-bar.rst - Adding pelican/tests/content/2012-11-30_md_w_filename_meta#foo-bar.md -> pelican/tests/content/2012-11-30_md_w_filename_meta#foo-bar.md - Adding pelican/tests/content/TestCategory/article_with_category.rst -> pelican/tests/content/TestCategory/article_with_category.rst - Adding pelican/tests/content/TestCategory/article_without_category.rst -> pelican/tests/content/TestCategory/article_without_category.rst - Adding pelican/tests/content/article.rst -> pelican/tests/content/article.rst - Adding pelican/tests/content/article_draft.md -> pelican/tests/content/article_draft.md - Adding pelican/tests/content/article_hidden.md -> pelican/tests/content/article_hidden.md - Adding pelican/tests/content/article_with_attributes_containing_double_quotes.html -> pelican/tests/content/article_with_attributes_containing_double_quotes.html - Adding pelican/tests/content/article_with_capitalized_metadata.rst -> pelican/tests/content/article_with_capitalized_metadata.rst - Adding pelican/tests/content/article_with_code_block.rst -> pelican/tests/content/article_with_code_block.rst - Adding pelican/tests/content/article_with_comments.html -> pelican/tests/content/article_with_comments.html - Adding pelican/tests/content/article_with_duplicate_tags_authors.md -> pelican/tests/content/article_with_duplicate_tags_authors.md - Adding pelican/tests/content/article_with_inline_svg.html -> pelican/tests/content/article_with_inline_svg.html - Adding pelican/tests/content/article_with_keywords.html -> pelican/tests/content/article_with_keywords.html - Adding pelican/tests/content/article_with_markdown_and_empty_tags.md -> pelican/tests/content/article_with_markdown_and_empty_tags.md - Adding pelican/tests/content/article_with_markdown_and_footnote.md -> pelican/tests/content/article_with_markdown_and_footnote.md - Adding pelican/tests/content/article_with_markdown_and_nested_metadata.md -> pelican/tests/content/article_with_markdown_and_nested_metadata.md - Adding pelican/tests/content/article_with_markdown_and_nonascii_summary.md -> pelican/tests/content/article_with_markdown_and_nonascii_summary.md - Adding pelican/tests/content/article_with_markdown_and_summary_metadata_multi.md -> pelican/tests/content/article_with_markdown_and_summary_metadata_multi.md - Adding pelican/tests/content/article_with_markdown_and_summary_metadata_single.md -> pelican/tests/content/article_with_markdown_and_summary_metadata_single.md - Adding pelican/tests/content/article_with_markdown_extension.markdown -> pelican/tests/content/article_with_markdown_extension.markdown - Adding pelican/tests/content/article_with_markdown_markup_extensions.md -> pelican/tests/content/article_with_markdown_markup_extensions.md - Adding pelican/tests/content/article_with_md_extension.md -> pelican/tests/content/article_with_md_extension.md - Adding pelican/tests/content/article_with_mdown_extension.mdown -> pelican/tests/content/article_with_mdown_extension.mdown - Adding pelican/tests/content/article_with_metadata.html -> pelican/tests/content/article_with_metadata.html - Adding pelican/tests/content/article_with_metadata.rst -> pelican/tests/content/article_with_metadata.rst - Adding pelican/tests/content/article_with_metadata.unknownextension -> pelican/tests/content/article_with_metadata.unknownextension - Adding pelican/tests/content/article_with_metadata_and_contents.html -> pelican/tests/content/article_with_metadata_and_contents.html - Adding pelican/tests/content/article_with_metadata_explicit_date_implicit_modified.html -> pelican/tests/content/article_with_metadata_explicit_date_implicit_modified.html - Adding pelican/tests/content/article_with_metadata_explicit_dates.html -> pelican/tests/content/article_with_metadata_explicit_dates.html - Adding pelican/tests/content/article_with_metadata_implicit_date_explicit_modified.html -> pelican/tests/content/article_with_metadata_implicit_date_explicit_modified.html - Adding pelican/tests/content/article_with_metadata_implicit_dates.html -> pelican/tests/content/article_with_metadata_implicit_dates.html - Adding pelican/tests/content/article_with_mkd_extension.mkd -> pelican/tests/content/article_with_mkd_extension.mkd - Adding pelican/tests/content/article_with_multiple_authors.html -> pelican/tests/content/article_with_multiple_authors.html - Adding pelican/tests/content/article_with_multiple_authors.rst -> pelican/tests/content/article_with_multiple_authors.rst - Adding pelican/tests/content/article_with_multiple_authors_list.rst -> pelican/tests/content/article_with_multiple_authors_list.rst - Adding pelican/tests/content/article_with_multiple_authors_semicolon.rst -> pelican/tests/content/article_with_multiple_authors_semicolon.rst - Adding pelican/tests/content/article_with_multiple_metadata_tags.html -> pelican/tests/content/article_with_multiple_metadata_tags.html - Adding pelican/tests/content/article_with_nonconformant_meta_tags.html -> pelican/tests/content/article_with_nonconformant_meta_tags.html - Adding pelican/tests/content/article_with_null_attributes.html -> pelican/tests/content/article_with_null_attributes.html - Adding pelican/tests/content/article_with_template.rst -> pelican/tests/content/article_with_template.rst - Adding pelican/tests/content/article_with_typogrify_dashes.md -> pelican/tests/content/article_with_typogrify_dashes.md - Adding pelican/tests/content/article_with_typogrify_dashes.rst -> pelican/tests/content/article_with_typogrify_dashes.rst - Adding pelican/tests/content/article_with_uppercase_metadata.html -> pelican/tests/content/article_with_uppercase_metadata.html - Adding pelican/tests/content/article_with_uppercase_metadata.rst -> pelican/tests/content/article_with_uppercase_metadata.rst - Adding pelican/tests/content/article_without_category.rst -> pelican/tests/content/article_without_category.rst - Adding pelican/tests/content/bad_extension.mmd -> pelican/tests/content/bad_extension.mmd - Adding pelican/tests/content/bloggerexport.xml -> pelican/tests/content/bloggerexport.xml - Adding pelican/tests/content/empty.md -> pelican/tests/content/empty.md - Adding pelican/tests/content/empty_with_bom.md -> pelican/tests/content/empty_with_bom.md - Adding pelican/tests/content/wordpress_content_decoded -> pelican/tests/content/wordpress_content_decoded - Adding pelican/tests/content/wordpress_content_encoded -> pelican/tests/content/wordpress_content_encoded - Adding pelican/tests/content/wordpressexport.xml -> pelican/tests/content/wordpressexport.xml - Adding pelican/tests/cyclic_intersite_links/first-article.rst -> pelican/tests/cyclic_intersite_links/first-article.rst - Adding pelican/tests/cyclic_intersite_links/second-article.rst -> pelican/tests/cyclic_intersite_links/second-article.rst - Adding pelican/tests/cyclic_intersite_links/third-article.rst -> pelican/tests/cyclic_intersite_links/third-article.rst - Adding pelican/tests/default_conf.py -> pelican/tests/default_conf.py - Adding pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__init__.py -> pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__init__.py - Adding pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__init__.py -> pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__init__.py - Adding pelican/tests/dummy_plugins/normal_plugin/normal_plugin/submodule.py -> pelican/tests/dummy_plugins/normal_plugin/normal_plugin/submodule.py - Adding pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__init__.py -> pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__init__.py - Adding pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__init__.py -> pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__init__.py - Adding pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/subpackage.py -> pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/subpackage.py - Adding pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subplugin.py -> pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subplugin.py - Adding pelican/tests/mixed_content/fake_image.jpg -> pelican/tests/mixed_content/fake_image.jpg - Adding pelican/tests/mixed_content/short_page.md -> pelican/tests/mixed_content/short_page.md - Adding pelican/tests/mixed_content/subdir/subdir_fake_image.jpg -> pelican/tests/mixed_content/subdir/subdir_fake_image.jpg - Adding pelican/tests/nested_content/maindir/maindir.md -> pelican/tests/nested_content/maindir/maindir.md - Adding pelican/tests/nested_content/maindir/subdir/subdir.md -> pelican/tests/nested_content/maindir/subdir/subdir.md - Adding pelican/tests/output/basic/a-markdown-powered-article.html -> pelican/tests/output/basic/a-markdown-powered-article.html - Adding pelican/tests/output/basic/archives.html -> pelican/tests/output/basic/archives.html - Adding pelican/tests/output/basic/article-1.html -> pelican/tests/output/basic/article-1.html - Adding pelican/tests/output/basic/article-2.html -> pelican/tests/output/basic/article-2.html - Adding pelican/tests/output/basic/article-3.html -> pelican/tests/output/basic/article-3.html - Adding pelican/tests/output/basic/author/alexis-metaireau.html -> pelican/tests/output/basic/author/alexis-metaireau.html - Adding pelican/tests/output/basic/authors.html -> pelican/tests/output/basic/authors.html - Adding pelican/tests/output/basic/categories.html -> pelican/tests/output/basic/categories.html - Adding pelican/tests/output/basic/category/bar.html -> pelican/tests/output/basic/category/bar.html - Adding pelican/tests/output/basic/category/cat1.html -> pelican/tests/output/basic/category/cat1.html - Adding pelican/tests/output/basic/category/misc.html -> pelican/tests/output/basic/category/misc.html - Adding pelican/tests/output/basic/category/yeah.html -> pelican/tests/output/basic/category/yeah.html - Adding pelican/tests/output/basic/drafts/a-draft-article-without-date.html -> pelican/tests/output/basic/drafts/a-draft-article-without-date.html - Adding pelican/tests/output/basic/drafts/a-draft-article.html -> pelican/tests/output/basic/drafts/a-draft-article.html - Adding pelican/tests/output/basic/feeds/alexis-metaireau.atom.xml -> pelican/tests/output/basic/feeds/alexis-metaireau.atom.xml - Adding pelican/tests/output/basic/feeds/alexis-metaireau.rss.xml -> pelican/tests/output/basic/feeds/alexis-metaireau.rss.xml - Adding pelican/tests/output/basic/feeds/all-en.atom.xml -> pelican/tests/output/basic/feeds/all-en.atom.xml - Adding pelican/tests/output/basic/feeds/all-fr.atom.xml -> pelican/tests/output/basic/feeds/all-fr.atom.xml - Adding pelican/tests/output/basic/feeds/all.atom.xml -> pelican/tests/output/basic/feeds/all.atom.xml - Adding pelican/tests/output/basic/feeds/bar.atom.xml -> pelican/tests/output/basic/feeds/bar.atom.xml - Adding pelican/tests/output/basic/feeds/cat1.atom.xml -> pelican/tests/output/basic/feeds/cat1.atom.xml - Adding pelican/tests/output/basic/feeds/misc.atom.xml -> pelican/tests/output/basic/feeds/misc.atom.xml - Adding pelican/tests/output/basic/feeds/yeah.atom.xml -> pelican/tests/output/basic/feeds/yeah.atom.xml - Adding pelican/tests/output/basic/filename_metadata-example.html -> pelican/tests/output/basic/filename_metadata-example.html - Adding pelican/tests/output/basic/index.html -> pelican/tests/output/basic/index.html - Adding pelican/tests/output/basic/oh-yeah-fr.html -> pelican/tests/output/basic/oh-yeah-fr.html - Adding pelican/tests/output/basic/oh-yeah.html -> pelican/tests/output/basic/oh-yeah.html - Adding pelican/tests/output/basic/override/index.html -> pelican/tests/output/basic/override/index.html - Adding pelican/tests/output/basic/pages/this-is-a-test-hidden-page.html -> pelican/tests/output/basic/pages/this-is-a-test-hidden-page.html - Adding pelican/tests/output/basic/pages/this-is-a-test-page.html -> pelican/tests/output/basic/pages/this-is-a-test-page.html - Adding pelican/tests/output/basic/pictures/Fat_Cat.jpg -> pelican/tests/output/basic/pictures/Fat_Cat.jpg - Adding pelican/tests/output/basic/pictures/Sushi.jpg -> pelican/tests/output/basic/pictures/Sushi.jpg - Adding pelican/tests/output/basic/pictures/Sushi_Macro.jpg -> pelican/tests/output/basic/pictures/Sushi_Macro.jpg - Adding pelican/tests/output/basic/second-article-fr.html -> pelican/tests/output/basic/second-article-fr.html - Adding pelican/tests/output/basic/second-article.html -> pelican/tests/output/basic/second-article.html - Adding pelican/tests/output/basic/tag/bar.html -> pelican/tests/output/basic/tag/bar.html - Adding pelican/tests/output/basic/tag/baz.html -> pelican/tests/output/basic/tag/baz.html - Adding pelican/tests/output/basic/tag/foo.html -> pelican/tests/output/basic/tag/foo.html - Adding pelican/tests/output/basic/tag/foobar.html -> pelican/tests/output/basic/tag/foobar.html - Adding pelican/tests/output/basic/tag/oh.html -> pelican/tests/output/basic/tag/oh.html - Adding pelican/tests/output/basic/tag/yeah.html -> pelican/tests/output/basic/tag/yeah.html - Adding pelican/tests/output/basic/tags.html -> pelican/tests/output/basic/tags.html - Adding pelican/tests/output/basic/theme/css/fonts.css -> pelican/tests/output/basic/theme/css/fonts.css - Adding pelican/tests/output/basic/theme/css/main.css -> pelican/tests/output/basic/theme/css/main.css - Adding pelican/tests/output/basic/theme/css/pygment.css -> pelican/tests/output/basic/theme/css/pygment.css - Adding pelican/tests/output/basic/theme/css/reset.css -> pelican/tests/output/basic/theme/css/reset.css - Adding pelican/tests/output/basic/theme/css/typogrify.css -> pelican/tests/output/basic/theme/css/typogrify.css - Adding pelican/tests/output/basic/theme/css/wide.css -> pelican/tests/output/basic/theme/css/wide.css - Adding pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.eot -> pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.eot - Adding pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.svg -> pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.svg - Adding pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.ttf -> pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.ttf - Adding pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.woff -> pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.woff - Adding pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.woff2 -> pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_400.woff2 - Adding pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_LICENSE.txt -> pelican/tests/output/basic/theme/fonts/Yanone_Kaffeesatz_LICENSE.txt - Adding pelican/tests/output/basic/theme/fonts/font.css -> pelican/tests/output/basic/theme/fonts/font.css - Adding pelican/tests/output/basic/this-is-a-super-article.html -> pelican/tests/output/basic/this-is-a-super-article.html - Adding pelican/tests/output/basic/unbelievable.html -> pelican/tests/output/basic/unbelievable.html - Adding pelican/tests/output/custom/a-markdown-powered-article.html -> pelican/tests/output/custom/a-markdown-powered-article.html - Adding pelican/tests/output/custom/archives.html -> pelican/tests/output/custom/archives.html - Adding pelican/tests/output/custom/article-1.html -> pelican/tests/output/custom/article-1.html - Adding pelican/tests/output/custom/article-2.html -> pelican/tests/output/custom/article-2.html - Adding pelican/tests/output/custom/article-3.html -> pelican/tests/output/custom/article-3.html - Adding pelican/tests/output/custom/author/alexis-metaireau.html -> pelican/tests/output/custom/author/alexis-metaireau.html - Adding pelican/tests/output/custom/author/alexis-metaireau2.html -> pelican/tests/output/custom/author/alexis-metaireau2.html - Adding pelican/tests/output/custom/author/alexis-metaireau3.html -> pelican/tests/output/custom/author/alexis-metaireau3.html - Adding pelican/tests/output/custom/authors.html -> pelican/tests/output/custom/authors.html - Adding pelican/tests/output/custom/categories.html -> pelican/tests/output/custom/categories.html - Adding pelican/tests/output/custom/category/bar.html -> pelican/tests/output/custom/category/bar.html - Adding pelican/tests/output/custom/category/cat1.html -> pelican/tests/output/custom/category/cat1.html - Adding pelican/tests/output/custom/category/misc.html -> pelican/tests/output/custom/category/misc.html - Adding pelican/tests/output/custom/category/yeah.html -> pelican/tests/output/custom/category/yeah.html - Adding pelican/tests/output/custom/drafts/a-draft-article-without-date.html -> pelican/tests/output/custom/drafts/a-draft-article-without-date.html - Adding pelican/tests/output/custom/drafts/a-draft-article.html -> pelican/tests/output/custom/drafts/a-draft-article.html - Adding pelican/tests/output/custom/feeds/alexis-metaireau.atom.xml -> pelican/tests/output/custom/feeds/alexis-metaireau.atom.xml - Adding pelican/tests/output/custom/feeds/alexis-metaireau.rss.xml -> pelican/tests/output/custom/feeds/alexis-metaireau.rss.xml - Adding pelican/tests/output/custom/feeds/all-en.atom.xml -> pelican/tests/output/custom/feeds/all-en.atom.xml - Adding pelican/tests/output/custom/feeds/all-fr.atom.xml -> pelican/tests/output/custom/feeds/all-fr.atom.xml - Adding pelican/tests/output/custom/feeds/all.atom.xml -> pelican/tests/output/custom/feeds/all.atom.xml - Adding pelican/tests/output/custom/feeds/all.rss.xml -> pelican/tests/output/custom/feeds/all.rss.xml - Adding pelican/tests/output/custom/feeds/bar.atom.xml -> pelican/tests/output/custom/feeds/bar.atom.xml - Adding pelican/tests/output/custom/feeds/bar.rss.xml -> pelican/tests/output/custom/feeds/bar.rss.xml - Adding pelican/tests/output/custom/feeds/cat1.atom.xml -> pelican/tests/output/custom/feeds/cat1.atom.xml - Adding pelican/tests/output/custom/feeds/cat1.rss.xml -> pelican/tests/output/custom/feeds/cat1.rss.xml - Adding pelican/tests/output/custom/feeds/misc.atom.xml -> pelican/tests/output/custom/feeds/misc.atom.xml - Adding pelican/tests/output/custom/feeds/misc.rss.xml -> pelican/tests/output/custom/feeds/misc.rss.xml - Adding pelican/tests/output/custom/feeds/yeah.atom.xml -> pelican/tests/output/custom/feeds/yeah.atom.xml - Adding pelican/tests/output/custom/feeds/yeah.rss.xml -> pelican/tests/output/custom/feeds/yeah.rss.xml - Adding pelican/tests/output/custom/filename_metadata-example.html -> pelican/tests/output/custom/filename_metadata-example.html - Adding pelican/tests/output/custom/index.html -> pelican/tests/output/custom/index.html - Adding pelican/tests/output/custom/index2.html -> pelican/tests/output/custom/index2.html - Adding pelican/tests/output/custom/index3.html -> pelican/tests/output/custom/index3.html - Adding pelican/tests/output/custom/jinja2_template.html -> pelican/tests/output/custom/jinja2_template.html - Adding pelican/tests/output/custom/oh-yeah-fr.html -> pelican/tests/output/custom/oh-yeah-fr.html - Adding pelican/tests/output/custom/oh-yeah.html -> pelican/tests/output/custom/oh-yeah.html - Adding pelican/tests/output/custom/override/index.html -> pelican/tests/output/custom/override/index.html - Adding pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html -> pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html - Adding pelican/tests/output/custom/pages/this-is-a-test-page.html -> pelican/tests/output/custom/pages/this-is-a-test-page.html - Adding pelican/tests/output/custom/pictures/Fat_Cat.jpg -> pelican/tests/output/custom/pictures/Fat_Cat.jpg - Adding pelican/tests/output/custom/pictures/Sushi.jpg -> pelican/tests/output/custom/pictures/Sushi.jpg - Adding pelican/tests/output/custom/pictures/Sushi_Macro.jpg -> pelican/tests/output/custom/pictures/Sushi_Macro.jpg - Adding pelican/tests/output/custom/robots.txt -> pelican/tests/output/custom/robots.txt - Adding pelican/tests/output/custom/second-article-fr.html -> pelican/tests/output/custom/second-article-fr.html - Adding pelican/tests/output/custom/second-article.html -> pelican/tests/output/custom/second-article.html - Adding pelican/tests/output/custom/tag/bar.html -> pelican/tests/output/custom/tag/bar.html - Adding pelican/tests/output/custom/tag/baz.html -> pelican/tests/output/custom/tag/baz.html - Adding pelican/tests/output/custom/tag/foo.html -> pelican/tests/output/custom/tag/foo.html - Adding pelican/tests/output/custom/tag/foobar.html -> pelican/tests/output/custom/tag/foobar.html - Adding pelican/tests/output/custom/tag/oh.html -> pelican/tests/output/custom/tag/oh.html - Adding pelican/tests/output/custom/tag/yeah.html -> pelican/tests/output/custom/tag/yeah.html - Adding pelican/tests/output/custom/tags.html -> pelican/tests/output/custom/tags.html - Adding pelican/tests/output/custom/theme/css/fonts.css -> pelican/tests/output/custom/theme/css/fonts.css - Adding pelican/tests/output/custom/theme/css/main.css -> pelican/tests/output/custom/theme/css/main.css - Adding pelican/tests/output/custom/theme/css/pygment.css -> pelican/tests/output/custom/theme/css/pygment.css - Adding pelican/tests/output/custom/theme/css/reset.css -> pelican/tests/output/custom/theme/css/reset.css - Adding pelican/tests/output/custom/theme/css/typogrify.css -> pelican/tests/output/custom/theme/css/typogrify.css - Adding pelican/tests/output/custom/theme/css/wide.css -> pelican/tests/output/custom/theme/css/wide.css - Adding pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.eot -> pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.eot - Adding pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.svg -> pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.svg - Adding pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.ttf -> pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.ttf - Adding pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.woff -> pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.woff - Adding pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.woff2 -> pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_400.woff2 - Adding pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_LICENSE.txt -> pelican/tests/output/custom/theme/fonts/Yanone_Kaffeesatz_LICENSE.txt - Adding pelican/tests/output/custom/theme/fonts/font.css -> pelican/tests/output/custom/theme/fonts/font.css - Adding pelican/tests/output/custom/this-is-a-super-article.html -> pelican/tests/output/custom/this-is-a-super-article.html - Adding pelican/tests/output/custom/unbelievable.html -> pelican/tests/output/custom/unbelievable.html - Adding pelican/tests/output/custom_locale/archives.html -> pelican/tests/output/custom_locale/archives.html - Adding pelican/tests/output/custom_locale/author/alexis-metaireau.html -> pelican/tests/output/custom_locale/author/alexis-metaireau.html - Adding pelican/tests/output/custom_locale/author/alexis-metaireau2.html -> pelican/tests/output/custom_locale/author/alexis-metaireau2.html - Adding pelican/tests/output/custom_locale/author/alexis-metaireau3.html -> pelican/tests/output/custom_locale/author/alexis-metaireau3.html - Adding pelican/tests/output/custom_locale/authors.html -> pelican/tests/output/custom_locale/authors.html - Adding pelican/tests/output/custom_locale/categories.html -> pelican/tests/output/custom_locale/categories.html - Adding pelican/tests/output/custom_locale/category/bar.html -> pelican/tests/output/custom_locale/category/bar.html - Adding pelican/tests/output/custom_locale/category/cat1.html -> pelican/tests/output/custom_locale/category/cat1.html - Adding pelican/tests/output/custom_locale/category/misc.html -> pelican/tests/output/custom_locale/category/misc.html - Adding pelican/tests/output/custom_locale/category/yeah.html -> pelican/tests/output/custom_locale/category/yeah.html - Adding pelican/tests/output/custom_locale/drafts/a-draft-article-without-date.html -> pelican/tests/output/custom_locale/drafts/a-draft-article-without-date.html - Adding pelican/tests/output/custom_locale/drafts/a-draft-article.html -> pelican/tests/output/custom_locale/drafts/a-draft-article.html - Adding pelican/tests/output/custom_locale/feeds/alexis-metaireau.atom.xml -> pelican/tests/output/custom_locale/feeds/alexis-metaireau.atom.xml - Adding pelican/tests/output/custom_locale/feeds/alexis-metaireau.rss.xml -> pelican/tests/output/custom_locale/feeds/alexis-metaireau.rss.xml - Adding pelican/tests/output/custom_locale/feeds/all-en.atom.xml -> pelican/tests/output/custom_locale/feeds/all-en.atom.xml - Adding pelican/tests/output/custom_locale/feeds/all-fr.atom.xml -> pelican/tests/output/custom_locale/feeds/all-fr.atom.xml - Adding pelican/tests/output/custom_locale/feeds/all.atom.xml -> pelican/tests/output/custom_locale/feeds/all.atom.xml - Adding pelican/tests/output/custom_locale/feeds/all.rss.xml -> pelican/tests/output/custom_locale/feeds/all.rss.xml - Adding pelican/tests/output/custom_locale/feeds/bar.atom.xml -> pelican/tests/output/custom_locale/feeds/bar.atom.xml - Adding pelican/tests/output/custom_locale/feeds/bar.rss.xml -> pelican/tests/output/custom_locale/feeds/bar.rss.xml - Adding pelican/tests/output/custom_locale/feeds/cat1.atom.xml -> pelican/tests/output/custom_locale/feeds/cat1.atom.xml - Adding pelican/tests/output/custom_locale/feeds/cat1.rss.xml -> pelican/tests/output/custom_locale/feeds/cat1.rss.xml - Adding pelican/tests/output/custom_locale/feeds/misc.atom.xml -> pelican/tests/output/custom_locale/feeds/misc.atom.xml - Adding pelican/tests/output/custom_locale/feeds/misc.rss.xml -> pelican/tests/output/custom_locale/feeds/misc.rss.xml - Adding pelican/tests/output/custom_locale/feeds/yeah.atom.xml -> pelican/tests/output/custom_locale/feeds/yeah.atom.xml - Adding pelican/tests/output/custom_locale/feeds/yeah.rss.xml -> pelican/tests/output/custom_locale/feeds/yeah.rss.xml - Adding pelican/tests/output/custom_locale/index.html -> pelican/tests/output/custom_locale/index.html - Adding pelican/tests/output/custom_locale/index2.html -> pelican/tests/output/custom_locale/index2.html - Adding pelican/tests/output/custom_locale/index3.html -> pelican/tests/output/custom_locale/index3.html - Adding pelican/tests/output/custom_locale/jinja2_template.html -> pelican/tests/output/custom_locale/jinja2_template.html - Adding pelican/tests/output/custom_locale/oh-yeah-fr.html -> pelican/tests/output/custom_locale/oh-yeah-fr.html - Adding pelican/tests/output/custom_locale/override/index.html -> pelican/tests/output/custom_locale/override/index.html - Adding pelican/tests/output/custom_locale/pages/this-is-a-test-hidden-page.html -> pelican/tests/output/custom_locale/pages/this-is-a-test-hidden-page.html - Adding pelican/tests/output/custom_locale/pages/this-is-a-test-page.html -> pelican/tests/output/custom_locale/pages/this-is-a-test-page.html - Adding pelican/tests/output/custom_locale/pictures/Fat_Cat.jpg -> pelican/tests/output/custom_locale/pictures/Fat_Cat.jpg - Adding pelican/tests/output/custom_locale/pictures/Sushi.jpg -> pelican/tests/output/custom_locale/pictures/Sushi.jpg - Adding pelican/tests/output/custom_locale/pictures/Sushi_Macro.jpg -> pelican/tests/output/custom_locale/pictures/Sushi_Macro.jpg - Adding pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html -> pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html - Adding pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html -> pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html - Adding pelican/tests/output/custom_locale/posts/2010/octobre/20/oh-yeah/index.html -> pelican/tests/output/custom_locale/posts/2010/octobre/20/oh-yeah/index.html - Adding pelican/tests/output/custom_locale/posts/2011/avril/20/a-markdown-powered-article/index.html -> pelican/tests/output/custom_locale/posts/2011/avril/20/a-markdown-powered-article/index.html - Adding pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html -> pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html - Adding pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html -> pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html - Adding pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html -> pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html - Adding pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html -> pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html - Adding pelican/tests/output/custom_locale/posts/2012/novembre/30/filename_metadata-example/index.html -> pelican/tests/output/custom_locale/posts/2012/novembre/30/filename_metadata-example/index.html - Adding pelican/tests/output/custom_locale/robots.txt -> pelican/tests/output/custom_locale/robots.txt - Adding pelican/tests/output/custom_locale/second-article-fr.html -> pelican/tests/output/custom_locale/second-article-fr.html - Adding pelican/tests/output/custom_locale/tag/bar.html -> pelican/tests/output/custom_locale/tag/bar.html - Adding pelican/tests/output/custom_locale/tag/baz.html -> pelican/tests/output/custom_locale/tag/baz.html - Adding pelican/tests/output/custom_locale/tag/foo.html -> pelican/tests/output/custom_locale/tag/foo.html - Adding pelican/tests/output/custom_locale/tag/foobar.html -> pelican/tests/output/custom_locale/tag/foobar.html - Adding pelican/tests/output/custom_locale/tag/oh.html -> pelican/tests/output/custom_locale/tag/oh.html - Adding pelican/tests/output/custom_locale/tag/yeah.html -> pelican/tests/output/custom_locale/tag/yeah.html - Adding pelican/tests/output/custom_locale/tags.html -> pelican/tests/output/custom_locale/tags.html - Adding pelican/tests/output/custom_locale/theme/css/fonts.css -> pelican/tests/output/custom_locale/theme/css/fonts.css - Adding pelican/tests/output/custom_locale/theme/css/main.css -> pelican/tests/output/custom_locale/theme/css/main.css - Adding pelican/tests/output/custom_locale/theme/css/pygment.css -> pelican/tests/output/custom_locale/theme/css/pygment.css - Adding pelican/tests/output/custom_locale/theme/css/reset.css -> pelican/tests/output/custom_locale/theme/css/reset.css - Adding pelican/tests/output/custom_locale/theme/css/typogrify.css -> pelican/tests/output/custom_locale/theme/css/typogrify.css - Adding pelican/tests/output/custom_locale/theme/css/wide.css -> pelican/tests/output/custom_locale/theme/css/wide.css - Adding pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.eot -> pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.eot - Adding pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.svg -> pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.svg - Adding pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.ttf -> pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.ttf - Adding pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.woff -> pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.woff - Adding pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.woff2 -> pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_400.woff2 - Adding pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_LICENSE.txt -> pelican/tests/output/custom_locale/theme/fonts/Yanone_Kaffeesatz_LICENSE.txt - Adding pelican/tests/output/custom_locale/theme/fonts/font.css -> pelican/tests/output/custom_locale/theme/fonts/font.css - Adding pelican/tests/parse_error/parse_error.rst -> pelican/tests/parse_error/parse_error.rst - Adding pelican/tests/support.py -> pelican/tests/support.py - Adding pelican/tests/test_cache.py -> pelican/tests/test_cache.py - Adding pelican/tests/test_cli.py -> pelican/tests/test_cli.py - Adding pelican/tests/test_contents.py -> pelican/tests/test_contents.py - Adding pelican/tests/test_generators.py -> pelican/tests/test_generators.py - Adding pelican/tests/test_importer.py -> pelican/tests/test_importer.py - Adding pelican/tests/test_log.py -> pelican/tests/test_log.py - Adding pelican/tests/test_paginator.py -> pelican/tests/test_paginator.py - Adding pelican/tests/test_pelican.py -> pelican/tests/test_pelican.py - Adding pelican/tests/test_plugins.py -> pelican/tests/test_plugins.py - Adding pelican/tests/test_readers.py -> pelican/tests/test_readers.py - Adding pelican/tests/test_rstdirectives.py -> pelican/tests/test_rstdirectives.py - Adding pelican/tests/test_server.py -> pelican/tests/test_server.py - Adding pelican/tests/test_settings.py -> pelican/tests/test_settings.py - Adding pelican/tests/test_testsuite.py -> pelican/tests/test_testsuite.py - Adding pelican/tests/test_urlwrappers.py -> pelican/tests/test_urlwrappers.py - Adding pelican/tests/test_utils.py -> pelican/tests/test_utils.py - Adding pelican/tests/theme_overrides/level1/article.html -> pelican/tests/theme_overrides/level1/article.html - Adding pelican/tests/theme_overrides/level2/article.html -> pelican/tests/theme_overrides/level2/article.html - Adding pelican/tests/theme_overrides/level2/authors.html -> pelican/tests/theme_overrides/level2/authors.html - Adding pelican/themes/notmyidea/static/css/fonts.css -> pelican/themes/notmyidea/static/css/fonts.css - Adding pelican/themes/notmyidea/static/css/main.css -> pelican/themes/notmyidea/static/css/main.css - Adding pelican/themes/notmyidea/static/css/pygment.css -> pelican/themes/notmyidea/static/css/pygment.css - Adding pelican/themes/notmyidea/static/css/reset.css -> pelican/themes/notmyidea/static/css/reset.css - Adding pelican/themes/notmyidea/static/css/typogrify.css -> pelican/themes/notmyidea/static/css/typogrify.css - Adding pelican/themes/notmyidea/static/css/wide.css -> pelican/themes/notmyidea/static/css/wide.css - Adding pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.eot -> pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.eot - Adding pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.svg -> pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.svg - Adding pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.ttf -> pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.ttf - Adding pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff -> pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff - Adding pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff2 -> pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff2 - Adding pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_LICENSE.txt -> pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_LICENSE.txt - Adding pelican/themes/notmyidea/static/fonts/font.css -> pelican/themes/notmyidea/static/fonts/font.css - Adding pelican/themes/notmyidea/templates/analytics.html -> pelican/themes/notmyidea/templates/analytics.html - Adding pelican/themes/notmyidea/templates/archives.html -> pelican/themes/notmyidea/templates/archives.html - Adding pelican/themes/notmyidea/templates/article.html -> pelican/themes/notmyidea/templates/article.html - Adding pelican/themes/notmyidea/templates/article_infos.html -> pelican/themes/notmyidea/templates/article_infos.html - Adding pelican/themes/notmyidea/templates/author.html -> pelican/themes/notmyidea/templates/author.html - Adding pelican/themes/notmyidea/templates/authors.html -> pelican/themes/notmyidea/templates/authors.html - Adding pelican/themes/notmyidea/templates/base.html -> pelican/themes/notmyidea/templates/base.html - Adding pelican/themes/notmyidea/templates/categories.html -> pelican/themes/notmyidea/templates/categories.html - Adding pelican/themes/notmyidea/templates/category.html -> pelican/themes/notmyidea/templates/category.html - Adding pelican/themes/notmyidea/templates/comments.html -> pelican/themes/notmyidea/templates/comments.html - Adding pelican/themes/notmyidea/templates/disqus_script.html -> pelican/themes/notmyidea/templates/disqus_script.html - Adding pelican/themes/notmyidea/templates/github.html -> pelican/themes/notmyidea/templates/github.html - Adding pelican/themes/notmyidea/templates/index.html -> pelican/themes/notmyidea/templates/index.html - Adding pelican/themes/notmyidea/templates/page.html -> pelican/themes/notmyidea/templates/page.html - Adding pelican/themes/notmyidea/templates/period_archives.html -> pelican/themes/notmyidea/templates/period_archives.html - Adding pelican/themes/notmyidea/templates/tag.html -> pelican/themes/notmyidea/templates/tag.html - Adding pelican/themes/notmyidea/templates/taglist.html -> pelican/themes/notmyidea/templates/taglist.html - Adding pelican/themes/notmyidea/templates/tags.html -> pelican/themes/notmyidea/templates/tags.html - Adding pelican/themes/notmyidea/templates/translations.html -> pelican/themes/notmyidea/templates/translations.html - Adding pelican/themes/notmyidea/templates/twitter.html -> pelican/themes/notmyidea/templates/twitter.html - Adding pelican/themes/simple/templates/archives.html -> pelican/themes/simple/templates/archives.html - Adding pelican/themes/simple/templates/article.html -> pelican/themes/simple/templates/article.html - Adding pelican/themes/simple/templates/author.html -> pelican/themes/simple/templates/author.html - Adding pelican/themes/simple/templates/authors.html -> pelican/themes/simple/templates/authors.html - Adding pelican/themes/simple/templates/base.html -> pelican/themes/simple/templates/base.html - Adding pelican/themes/simple/templates/categories.html -> pelican/themes/simple/templates/categories.html - Adding pelican/themes/simple/templates/category.html -> pelican/themes/simple/templates/category.html - Adding pelican/themes/simple/templates/index.html -> pelican/themes/simple/templates/index.html - Adding pelican/themes/simple/templates/page.html -> pelican/themes/simple/templates/page.html - Adding pelican/themes/simple/templates/pagination.html -> pelican/themes/simple/templates/pagination.html - Adding pelican/themes/simple/templates/period_archives.html -> pelican/themes/simple/templates/period_archives.html - Adding pelican/themes/simple/templates/tag.html -> pelican/themes/simple/templates/tag.html - Adding pelican/themes/simple/templates/tags.html -> pelican/themes/simple/templates/tags.html - Adding pelican/themes/simple/templates/translations.html -> pelican/themes/simple/templates/translations.html - Adding pelican/tools/__init__.py -> pelican/tools/__init__.py - Adding pelican/tools/pelican_import.py -> pelican/tools/pelican_import.py - Adding pelican/tools/pelican_quickstart.py -> pelican/tools/pelican_quickstart.py - Adding pelican/tools/pelican_themes.py -> pelican/tools/pelican_themes.py - Adding pelican/tools/templates/Makefile.jinja2 -> pelican/tools/templates/Makefile.jinja2 - Adding pelican/tools/templates/pelicanconf.py.jinja2 -> pelican/tools/templates/pelicanconf.py.jinja2 - Adding pelican/tools/templates/publishconf.py.jinja2 -> pelican/tools/templates/publishconf.py.jinja2 - Adding pelican/tools/templates/tasks.py.jinja2 -> pelican/tools/templates/tasks.py.jinja2 - Adding pelican/urlwrappers.py -> pelican/urlwrappers.py - Adding pelican/utils.py -> pelican/utils.py - Adding pelican/writers.py -> pelican/writers.py - Adding pelican-4.9.1.dist-info/RECORD -> pelican-4.9.1.dist-info/RECORD INFO : pyproject_installer.build_cmd._build : Built wheel: pelican-4.9.1-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.61430 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-pelican-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-pelican-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd pelican-4.9.1 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-pelican-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/pelican-4.9.1/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: pelican-4.9.1-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-pelican-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pelican-4.9.1.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pelican-4.9.1.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pelican-4.9.1.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts DEBUG : pyproject_installer.lib.scripts : Installing console script: pelican DEBUG : pyproject_installer.lib.scripts : Installing console script: pelican-import DEBUG : pyproject_installer.lib.scripts : Installing console script: pelican-plugins DEBUG : pyproject_installer.lib.scripts : Installing console script: pelican-quickstart DEBUG : pyproject_installer.lib.scripts : Installing console script: pelican-themes INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-pelican-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-pelican-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-pelican-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-pelican-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-pelican-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-pelican-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-pelican-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-pelican-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/plugins/_utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/plugins/signals.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/build_test/conftest.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/build_test/test_build_files.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/submodule.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/subpackage.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subplugin.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/default_conf.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/support.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_cache.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_cli.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_contents.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_generators.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_importer.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_log.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_paginator.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_pelican.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_plugins.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_readers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_rstdirectives.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_server.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_settings.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_testsuite.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_urlwrappers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_import.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_quickstart.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_themes.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/__main__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/cache.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/contents.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/generators.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/log.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/paginator.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/readers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/rstdirectives.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/server.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/settings.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/signals.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/urlwrappers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/writers.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-pelican-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/plugins/_utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/plugins/signals.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/build_test/conftest.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/build_test/test_build_files.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/submodule.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/subpackage.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subplugin.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/default_conf.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/support.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_cache.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_cli.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_contents.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_generators.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_importer.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_log.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_paginator.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_pelican.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_plugins.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_readers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_rstdirectives.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_server.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_settings.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_testsuite.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_urlwrappers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_import.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_quickstart.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_themes.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/__main__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/cache.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/contents.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/generators.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/log.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/paginator.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/readers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/rstdirectives.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/server.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/settings.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/signals.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/urlwrappers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/writers.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pelican-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/plugins/_utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/plugins/signals.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/build_test/conftest.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/build_test/test_build_files.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/submodule.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/subpackage.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subplugin.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/default_conf.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/support.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_cache.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_cli.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_contents.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_generators.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_importer.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_log.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_paginator.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_pelican.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_plugins.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_readers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_rstdirectives.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_server.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_settings.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_testsuite.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_urlwrappers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tests/test_utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_import.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_quickstart.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/tools/pelican_themes.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/__init__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/__main__.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/cache.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/contents.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/generators.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/log.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/paginator.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/readers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/rstdirectives.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/server.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/settings.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/signals.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/urlwrappers.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/utils.py compile /usr/src/tmp/python3-module-pelican-buildroot/usr/lib/python3/site-packages/pelican/writers.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pelican/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/__main__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/__main__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/cache.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/cache.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/contents.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/contents.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/generators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/generators.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/log.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/log.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/paginator.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/paginator.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/readers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/readers.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/rstdirectives.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/rstdirectives.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/server.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/server.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/settings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/settings.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/signals.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/signals.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/signals.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/signals.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/urlwrappers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/urlwrappers.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/utils.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/utils.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/__pycache__/writers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/__pycache__/writers.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/plugins/__pycache__/_utils.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/plugins/__pycache__/_utils.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/plugins/__pycache__/signals.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/plugins/__pycache__/signals.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/plugins/__pycache__/signals.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/plugins/__pycache__/signals.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/default_conf.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/default_conf.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/default_conf.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/default_conf.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/support.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/support.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_cache.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_cache.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_cli.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_cli.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_cli.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_cli.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_generators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_generators.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_importer.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_importer.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_log.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_log.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_log.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_log.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_paginator.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_paginator.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_paginator.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_paginator.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_plugins.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_plugins.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_readers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_readers.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_readers.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_readers.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_rstdirectives.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_rstdirectives.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_rstdirectives.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_rstdirectives.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_server.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_server.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_server.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_server.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_settings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_settings.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_testsuite.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_testsuite.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_testsuite.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_testsuite.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_urlwrappers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_urlwrappers.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_urlwrappers.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_urlwrappers.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_utils.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/__pycache__/test_utils.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/build_test/__pycache__/conftest.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/build_test/__pycache__/conftest.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/build_test/__pycache__/conftest.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/build_test/__pycache__/conftest.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/namespace_plugin/pelican/plugins/ns_plugin/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/submodule.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/submodule.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/submodule.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_plugin/__pycache__/submodule.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/subplugin.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/subplugin.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/subplugin.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/__pycache__/subplugin.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/subpackage.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/subpackage.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/subpackage.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tests/dummy_plugins/normal_plugin/normal_submodule_plugin/subpackage/__pycache__/subpackage.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tools/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tools/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tools/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pelican/tools/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pelican/tools/__pycache__/pelican_quickstart.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tools/__pycache__/pelican_quickstart.cpython-312.pyc' './usr/lib/python3/site-packages/pelican/tools/__pycache__/pelican_themes.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pelican/tools/__pycache__/pelican_themes.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.72816 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pelican-4.9.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest -v INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/pelican-4.9.1/dist/pelican-4.9.1-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/pelican-4.9.1/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/pelican-4.9.1/dist/pelican-4.9.1-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest', '-v'] ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/src/RPM/BUILD/pelican-4.9.1/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/pelican-4.9.1 configfile: tox.ini plugins: anyio-4.8.0, xdist-3.6.1 created: 16/16 workers 16 workers [277 items] scheduling tests via LoadScheduling pelican/tests/build_test/test_build_files.py::test_wheel_contents pelican/tests/build_test/test_build_files.py::test_sdist_contents[docs/changelog.rst] pelican/tests/test_cli.py::TestParseOverrides::test_parse_invalid_syntax pelican/tests/test_cache.py::TestCache::test_article_reader_content_caching pelican/tests/test_cache.py::TestCache::test_page_reader_content_caching pelican/tests/test_cli.py::TestGetConfigFromArgs::test_overrides_non_default_type pelican/tests/test_contents.py::TestArticle::test_slugify_category_author pelican/tests/test_contents.py::TestStatic::test_attach_to_does_not_override_an_override [gw1] [ 0%] SKIPPED pelican/tests/build_test/test_build_files.py::test_sdist_contents[docs/changelog.rst] pelican/tests/build_test/test_build_files.py::test_sdist_contents[samples/] [gw1] [ 0%] SKIPPED pelican/tests/build_test/test_build_files.py::test_sdist_contents[samples/] [gw0] [ 1%] SKIPPED pelican/tests/build_test/test_build_files.py::test_wheel_contents pelican/tests/build_test/test_build_files.py::test_sdist_contents[THANKS] [gw0] [ 1%] SKIPPED pelican/tests/build_test/test_build_files.py::test_sdist_contents[THANKS] pelican/tests/build_test/test_build_files.py::test_sdist_contents[README.rst] [gw0] [ 1%] SKIPPED pelican/tests/build_test/test_build_files.py::test_sdist_contents[README.rst] pelican/tests/test_contents.py::TestPage::test_summary_get_summary_warning pelican/tests/test_contents.py::TestStatic::test_attach_to_other_dir pelican/tests/test_contents.py::TestPage::test_intrasite_link_more pelican/tests/test_contents.py::TestPage::test_intrasite_link [gw11] [ 2%] PASSED pelican/tests/test_contents.py::TestArticle::test_slugify_category_author pelican/tests/test_contents.py::TestArticle::test_slugify_category_with_dots [gw11] [ 2%] PASSED pelican/tests/test_contents.py::TestArticle::test_slugify_category_with_dots [gw5] [ 2%] PASSED pelican/tests/test_cli.py::TestGetConfigFromArgs::test_overrides_non_default_type [gw14] [ 3%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_to_other_dir pelican/tests/test_contents.py::TestStatic::test_attach_to_parent_dir [gw6] [ 3%] PASSED pelican/tests/test_contents.py::TestPage::test_intrasite_link pelican/tests/test_contents.py::TestPage::test_intrasite_link_absolute [gw6] [ 3%] PASSED pelican/tests/test_contents.py::TestPage::test_intrasite_link_absolute pelican/tests/test_contents.py::TestPage::test_signal pelican/tests/test_contents.py::TestArticle::test_slugify_with_author_substitutions [gw11] [ 4%] PASSED pelican/tests/test_contents.py::TestArticle::test_slugify_with_author_substitutions pelican/tests/test_contents.py::TestArticle::test_valid_save_as_detects_breakout [gw12] [ 4%] PASSED pelican/tests/test_contents.py::TestArticle::test_valid_save_as_detects_breakout pelican/tests/test_contents.py::TestArticle::test_valid_save_as_detects_breakout_to_root [gw12] [ 5%] PASSED pelican/tests/test_contents.py::TestArticle::test_valid_save_as_detects_breakout_to_root pelican/tests/test_contents.py::TestArticle::test_valid_save_as_passes_valid [gw12] [ 5%] PASSED pelican/tests/test_contents.py::TestArticle::test_valid_save_as_passes_valid [gw10] [ 5%] PASSED pelican/tests/test_contents.py::TestPage::test_summary_get_summary_warning pelican/tests/test_contents.py::TestPage::test_summary_max_length [gw10] [ 6%] PASSED pelican/tests/test_contents.py::TestPage::test_summary_max_length pelican/tests/test_contents.py::TestPage::test_template [gw10] [ 6%] PASSED pelican/tests/test_contents.py::TestPage::test_template pelican/tests/test_contents.py::TestPage::test_intrasite_link_escape [gw6] [ 6%] PASSED pelican/tests/test_contents.py::TestPage::test_intrasite_link_escape pelican/tests/test_contents.py::TestStatic::test_category_link_syntax [gw13] [ 7%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_to_does_not_override_an_override pelican/tests/test_contents.py::TestStatic::test_attach_to_does_nothing_after_save_as_referenced [gw13] [ 7%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_to_does_nothing_after_save_as_referenced pelican/tests/test_contents.py::TestStatic::test_attach_to_does_nothing_after_url_referenced [gw13] [ 7%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_to_does_nothing_after_url_referenced [gw7] [ 8%] PASSED pelican/tests/test_contents.py::TestPage::test_intrasite_link_more pelican/tests/test_contents.py::TestPage::test_intrasite_link_source_and_generated [gw7] [ 8%] PASSED pelican/tests/test_contents.py::TestPage::test_intrasite_link_source_and_generated pelican/tests/test_contents.py::TestPage::test_intrasite_link_to_static_content_with_filename [gw7] [ 9%] PASSED pelican/tests/test_contents.py::TestPage::test_intrasite_link_to_static_content_with_filename [gw14] [ 9%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_to_parent_dir pelican/tests/test_contents.py::TestStatic::test_attach_to_same_dir [gw14] [ 9%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_to_same_dir pelican/tests/test_contents.py::TestPage::test_datetime [gw5] [ 10%] PASSED pelican/tests/test_contents.py::TestPage::test_datetime pelican/tests/test_contents.py::TestPage::test_defaultlang [gw5] [ 10%] PASSED pelican/tests/test_contents.py::TestPage::test_defaultlang [gw15] [ 10%] PASSED pelican/tests/test_contents.py::TestStatic::test_category_link_syntax pelican/tests/test_contents.py::TestStatic::test_index_link_syntax [gw15] [ 11%] PASSED pelican/tests/test_contents.py::TestStatic::test_index_link_syntax pelican/tests/test_contents.py::TestStatic::test_index_link_syntax_with_spaces [gw15] [ 11%] PASSED pelican/tests/test_contents.py::TestStatic::test_index_link_syntax_with_spaces pelican/tests/test_cache.py::TestCache::test_article_ignore_cache [gw4] [ 11%] PASSED pelican/tests/test_cli.py::TestParseOverrides::test_parse_invalid_syntax pelican/tests/test_cli.py::TestParseOverrides::test_parse_multiple_items [gw4] [ 12%] PASSED pelican/tests/test_cli.py::TestParseOverrides::test_parse_multiple_items pelican/tests/test_cli.py::TestParseOverrides::test_parse_valid_json [gw4] [ 12%] PASSED pelican/tests/test_cli.py::TestParseOverrides::test_parse_valid_json pelican/tests/test_contents.py::TestPage::test_metadata_url_format [gw8] [ 12%] PASSED pelican/tests/test_contents.py::TestPage::test_metadata_url_format pelican/tests/test_contents.py::TestPage::test_multiple_authors [gw8] [ 13%] PASSED pelican/tests/test_contents.py::TestPage::test_multiple_authors pelican/tests/test_contents.py::TestPage::test_relative_source_path [gw8] [ 13%] PASSED pelican/tests/test_contents.py::TestPage::test_relative_source_path [gw9] [ 14%] PASSED pelican/tests/test_contents.py::TestPage::test_signal pelican/tests/test_contents.py::TestPage::test_slug [gw9] [ 14%] PASSED pelican/tests/test_contents.py::TestPage::test_slug pelican/tests/test_contents.py::TestPage::test_summary_end_suffix [gw9] [ 14%] PASSED pelican/tests/test_contents.py::TestPage::test_summary_end_suffix pelican/tests/build_test/test_build_files.py::test_sdist_contents[CONTRIBUTING.rst] [gw0] [ 15%] SKIPPED pelican/tests/build_test/test_build_files.py::test_sdist_contents[CONTRIBUTING.rst] pelican/tests/test_contents.py::TestStatic::test_not_save_as_draft [gw0] [ 15%] PASSED pelican/tests/test_contents.py::TestStatic::test_not_save_as_draft pelican/tests/test_contents.py::TestStatic::test_tag_link_syntax pelican/tests/test_contents.py::TestPage::test_intrasite_link_markdown_spaces pelican/tests/test_contents.py::TestStatic::test_attach_link_syntax pelican/tests/test_contents.py::TestArticle::test_template [gw11] [ 15%] PASSED pelican/tests/test_contents.py::TestArticle::test_template pelican/tests/test_generators.py::TestGenerator::test_theme_overrides [gw6] [ 16%] PASSED pelican/tests/test_contents.py::TestPage::test_intrasite_link_markdown_spaces pelican/tests/test_generators.py::TestArticlesGenerator::test_articles_hidden [gw0] [ 16%] PASSED pelican/tests/test_contents.py::TestStatic::test_tag_link_syntax pelican/tests/test_contents.py::TestPage::test_use_args [gw12] [ 16%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_link_syntax pelican/tests/test_generators.py::TestArticlesGenerator::test_do_not_use_folder_as_category pelican/tests/test_contents.py::TestStatic::test_unknown_link_syntax [gw0] [ 17%] PASSED pelican/tests/test_contents.py::TestStatic::test_unknown_link_syntax [gw10] [ 17%] PASSED pelican/tests/test_contents.py::TestPage::test_use_args pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_feeds pelican/tests/test_contents.py::TestStatic::test_attach_to_ignores_subsequent_calls pelican/tests/test_contents.py::TestPage::test_mandatory_properties [gw13] [ 18%] PASSED pelican/tests/test_contents.py::TestStatic::test_attach_to_ignores_subsequent_calls [gw7] [ 18%] PASSED pelican/tests/test_contents.py::TestPage::test_mandatory_properties pelican/tests/test_contents.py::TestStatic::test_author_link_syntax [gw11] [ 18%] PASSED pelican/tests/test_generators.py::TestGenerator::test_theme_overrides pelican/tests/test_generators.py::TestGenerator::test_theme_prefix pelican/tests/test_generators.py::TestArticlesGenerator::test_period_archives_context pelican/tests/test_generators.py::TestPageGenerator::test_generate_sorted [gw14] [ 19%] PASSED pelican/tests/test_contents.py::TestStatic::test_author_link_syntax pelican/tests/test_generators.py::TestStaticGenerator::test_can_symlink_when_hardlink_not_possible pelican/tests/test_contents.py::TestPage::test_get_content [gw5] [ 19%] PASSED pelican/tests/test_contents.py::TestPage::test_get_content pelican/tests/test_generators.py::TestStaticGenerator::test_dont_link_by_default pelican/tests/test_contents.py::TestStatic::test_link_to_unknown_file [gw15] [ 19%] PASSED pelican/tests/test_contents.py::TestStatic::test_link_to_unknown_file [gw14] [ 20%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_can_symlink_when_hardlink_not_possible pelican/tests/test_generators.py::TestStaticGenerator::test_output_file_exists_and_is_newer pelican/tests/test_generators.py::TestStaticGenerator::test_copy_one_file [gw5] [ 20%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_dont_link_by_default [gw11] [ 20%] PASSED pelican/tests/test_generators.py::TestGenerator::test_theme_prefix pelican/tests/test_generators.py::TestStaticGenerator::test_existing_symlink_is_considered_up_to_date [gw14] [ 21%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_copy_one_file [gw5] [ 21%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_existing_symlink_is_considered_up_to_date pelican/tests/test_generators.py::TestStaticGenerator::test_file_update_required_when_dest_does_not_exist pelican/tests/test_generators.py::TestArticlesGenerator::test_article_order_by pelican/tests/test_generators.py::TestStaticGenerator::test_delete_existing_file_before_mkdir [gw14] [ 22%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_delete_existing_file_before_mkdir [gw15] [ 22%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_output_file_exists_and_is_newer pelican/tests/test_contents.py::TestPage::test_save_as [gw8] [ 22%] PASSED pelican/tests/test_contents.py::TestPage::test_save_as pelican/tests/test_generators.py::TestStaticGenerator::test_theme_static_paths_files pelican/tests/test_cli.py::TestGetConfigFromArgs::test_overrides_known_keys [gw4] [ 23%] PASSED pelican/tests/test_cli.py::TestGetConfigFromArgs::test_overrides_known_keys pelican/tests/test_generators.py::TestStaticGenerator::test_static_exclude_sources [gw5] [ 23%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_file_update_required_when_dest_does_not_exist pelican/tests/test_generators.py::TestStaticGenerator::test_output_file_is_linked_to_source [gw15] [ 23%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_output_file_is_linked_to_source pelican/tests/test_generators.py::TestStaticGenerator::test_skip_file_when_source_is_not_newer [gw15] [ 24%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_skip_file_when_source_is_not_newer [gw8] [ 24%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_theme_static_paths_files pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_extension pelican/tests/test_generators.py::TestGenerator::test_bad_prefix [gw8] [ 24%] PASSED pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_extension [gw0] [ 25%] PASSED pelican/tests/test_generators.py::TestGenerator::test_bad_prefix pelican/tests/test_contents.py::TestPage::test_summary_from_metadata [gw9] [ 25%] PASSED pelican/tests/test_contents.py::TestPage::test_summary_from_metadata pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_global pelican/tests/test_importer.py::TestWordpressXmlImporter::test_can_toggle_raw_html_code_parsing [gw0] [ 25%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_can_toggle_raw_html_code_parsing pelican/tests/test_importer.py::TestWordpressXmlImporter::test_code_in_list [gw0] [ 26%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_code_in_list pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_filter [gw8] [ 26%] PASSED pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_filter [gw9] [ 27%] PASSED pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_global pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_test [gw9] [ 27%] PASSED pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_test pelican/tests/test_importer.py::TestBloggerXmlImporter::test_recognise_kind_and_title pelican/tests/test_generators.py::TestStaticGenerator::test_dest_and_source_mtimes_are_equal [gw9] [ 27%] SKIPPED pelican/tests/test_importer.py::TestBloggerXmlImporter::test_recognise_kind_and_title [gw14] [ 28%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_dest_and_source_mtimes_are_equal pelican/tests/test_importer.py::TestWordpressXmlImporter::test_custom_posts_put_in_own_dir pelican/tests/test_generators.py::TestStaticGenerator::test_invalid_symlink_is_overwritten pelican/tests/test_generators.py::TestStaticGenerator::test_source_is_newer [gw14] [ 28%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_custom_posts_put_in_own_dir pelican/tests/test_importer.py::TestWordpressXmlImporter::test_custom_posts_put_in_own_dir_and_catagory_sub_dir [gw14] [ 28%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_custom_posts_put_in_own_dir_and_catagory_sub_dir [gw15] [ 29%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_source_is_newer pelican/tests/test_importer.py::TestWordpressXmlImporter::test_dirpage_directive_for_page_kind [gw15] [ 29%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_dirpage_directive_for_page_kind pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_filter_plugin_enabled [gw5] [ 29%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_invalid_symlink_is_overwritten pelican/tests/test_importer.py::TestWordpressXmlImporter::test_decode_wp_content pelican/tests/test_importer.py::TestWordpressXmlImporter::test_dont_use_smart_quotes [gw5] [ 30%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_decode_wp_content [gw15] [ 30%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_dont_use_smart_quotes pelican/tests/test_importer.py::TestWordpressXmlImporter::test_convert_caption_to_figure [gw0] [ 31%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_convert_caption_to_figure pelican/tests/test_importer.py::TestWordpressXmlImporter::test_preserve_verbatim_formatting [gw0] [ 31%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_preserve_verbatim_formatting pelican/tests/test_importer.py::TestWordpressXmlImporter::test_recognise_custom_post_type [gw0] [ 31%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_recognise_custom_post_type pelican/tests/test_importer.py::TestWordpressXmlImporter::test_decode_wp_content_returns_empty [gw8] [ 32%] PASSED pelican/tests/test_generators.py::TestJinja2Environment::test_jinja2_filter_plugin_enabled pelican/tests/test_importer.py::TestBloggerXmlImporter::test_recognise_status_with_correct_filename [gw9] [ 32%] SKIPPED pelican/tests/test_importer.py::TestBloggerXmlImporter::test_recognise_status_with_correct_filename pelican/tests/test_importer.py::TestBuildHeader::test_build_header_with_east_asian_characters [gw9] [ 32%] PASSED pelican/tests/test_importer.py::TestBuildHeader::test_build_header_with_east_asian_characters pelican/tests/test_importer.py::TestBuildHeader::test_build_header_with_fields [gw9] [ 33%] PASSED pelican/tests/test_importer.py::TestBuildHeader::test_build_header_with_fields [gw5] [ 33%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_decode_wp_content_returns_empty [gw4] [ 33%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_static_exclude_sources pelican/tests/test_generators.py::TestStaticGenerator::test_static_excludes pelican/tests/test_importer.py::TestWordpressXmlImporter::test_decode_html_entities_in_titles [gw14] [ 34%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_decode_html_entities_in_titles pelican/tests/test_importer.py::TestBuildHeader::test_galleries_added_to_markdown_header [gw14] [ 34%] PASSED pelican/tests/test_importer.py::TestBuildHeader::test_galleries_added_to_markdown_header pelican/tests/test_importer.py::TestWordpressXMLAttachements::test_attachments_associated_with_correct_post pelican/tests/test_importer.py::TestWordpressXmlImporter::test_recognise_page_kind [gw0] [ 35%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_recognise_page_kind pelican/tests/test_importer.py::TestWordpressXMLAttachements::test_recognise_attachments [gw4] [ 35%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_static_excludes pelican/tests/test_generators.py::TestStaticGenerator::test_static_links [gw4] [ 35%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_static_links pelican/tests/test_importer.py::TestWordpressXmlImporter::test_unless_custom_post_all_items_should_be_pages_or_posts [gw8] [ 36%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_unless_custom_post_all_items_should_be_pages_or_posts pelican/tests/test_importer.py::TestWordpressXmlImporter::test_wp_custpost_true_dirpage_false [gw8] [ 36%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_wp_custpost_true_dirpage_false pelican/tests/test_importer.py::TestWordpressXmlImporter::test_ignore_empty_posts [gw15] [ 36%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_ignore_empty_posts pelican/tests/test_importer.py::TestTumblrImporter::test_video_embed [gw15] [ 37%] PASSED pelican/tests/test_importer.py::TestTumblrImporter::test_video_embed pelican/tests/test_log.py::TestLog::test_log_filter pelican/tests/test_importer.py::TestBuildHeader::test_galleries_added_to_header pelican/tests/test_importer.py::TestWordpressXmlImporter::test_dircat [gw15] [ 37%] PASSED pelican/tests/test_log.py::TestLog::test_log_filter [gw5] [ 37%] SKIPPED pelican/tests/test_importer.py::TestWordpressXmlImporter::test_dircat pelican/tests/test_paginator.py::TestPage::test_custom_pagination_pattern_last_page [gw1] [ 38%] PASSED pelican/tests/test_cache.py::TestCache::test_article_ignore_cache pelican/tests/test_cache.py::TestCache::test_article_object_caching [gw5] [ 38%] PASSED pelican/tests/test_paginator.py::TestPage::test_custom_pagination_pattern_last_page pelican/tests/test_generators.py::TestStaticGenerator::test_theme_static_paths_dirs [gw9] [ 38%] PASSED pelican/tests/test_importer.py::TestBuildHeader::test_galleries_added_to_header pelican/tests/test_pelican.py::TestPelican::test_basic_generation_works pelican/tests/test_importer.py::TestBuildHeader::test_build_header [gw8] [ 39%] PASSED pelican/tests/test_importer.py::TestBuildHeader::test_build_header pelican/tests/test_pelican.py::TestPelican::test_md_extensions_deprecation pelican/tests/test_paginator.py::TestPage::test_custom_pagination_pattern [gw15] [ 39%] PASSED pelican/tests/test_paginator.py::TestPage::test_custom_pagination_pattern pelican/tests/test_pelican.py::TestPelican::test_order_of_generators pelican/tests/test_paginator.py::TestPage::test_save_as_preservation [gw5] [ 40%] PASSED pelican/tests/test_paginator.py::TestPage::test_save_as_preservation pelican/tests/test_pelican.py::TestPelican::test_theme_static_paths_copy [gw15] [ 40%] PASSED pelican/tests/test_pelican.py::TestPelican::test_order_of_generators [gw3] [ 40%] PASSED pelican/tests/test_cache.py::TestCache::test_page_reader_content_caching pelican/tests/test_cache.py::TestCache::test_reader_caching [gw4] [ 41%] PASSED pelican/tests/test_generators.py::TestStaticGenerator::test_theme_static_paths_dirs pelican/tests/test_pelican.py::TestPelican::test_custom_locale_generation_works [gw14] [ 41%] PASSED pelican/tests/test_importer.py::TestWordpressXMLAttachements::test_attachments_associated_with_correct_post [gw0] [ 41%] PASSED pelican/tests/test_importer.py::TestWordpressXMLAttachements::test_recognise_attachments pelican/tests/test_pelican.py::TestPelican::test_parse_errors pelican/tests/test_importer.py::TestWordpressXMLAttachements::test_download_attachments pelican/tests/test_importer.py::TestTumblrImporter::test_broken_video_embed [gw0] [ 42%] PASSED pelican/tests/test_importer.py::TestTumblrImporter::test_broken_video_embed pelican/tests/test_importer.py::TestTumblrImporter::test_posts [gw0] [ 42%] PASSED pelican/tests/test_importer.py::TestTumblrImporter::test_posts pelican/tests/test_plugins.py::PluginTest::test_namespace_path_modification [gw0] [ 42%] PASSED pelican/tests/test_plugins.py::PluginTest::test_namespace_path_modification pelican/tests/test_plugins.py::PluginTest::test_plugin_enabled [gw0] [ 43%] PASSED pelican/tests/test_plugins.py::PluginTest::test_plugin_enabled pelican/tests/test_readers.py::TestAssertDictHasSubset::test_equal [gw0] [ 43%] PASSED pelican/tests/test_readers.py::TestAssertDictHasSubset::test_equal pelican/tests/test_readers.py::TestAssertDictHasSubset::test_fail_not_set [gw0] [ 44%] PASSED pelican/tests/test_readers.py::TestAssertDictHasSubset::test_fail_not_set pelican/tests/test_readers.py::TestAssertDictHasSubset::test_fail_wrong_val [gw0] [ 44%] PASSED pelican/tests/test_readers.py::TestAssertDictHasSubset::test_fail_wrong_val pelican/tests/test_readers.py::TestAssertDictHasSubset::test_subset [gw0] [ 44%] PASSED pelican/tests/test_readers.py::TestAssertDictHasSubset::test_subset pelican/tests/test_readers.py::DefaultReaderTest::test_find_empty_alt [gw0] [ 45%] PASSED pelican/tests/test_readers.py::DefaultReaderTest::test_find_empty_alt pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_explicit_date_implicit_modified [gw0] [ 45%] PASSED pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_explicit_date_implicit_modified pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_explicit_dates [gw0] [ 45%] PASSED pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_explicit_dates pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_implicit_date_explicit_modified [gw0] [ 46%] PASSED pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_implicit_date_explicit_modified pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_implicit_dates [gw0] [ 46%] PASSED pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_path_metadata_implicit_dates pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_unknown_extension [gw0] [ 46%] PASSED pelican/tests/test_readers.py::DefaultReaderTest::test_readfile_unknown_extension pelican/tests/test_readers.py::RstReaderTest::test_article_extra_path_metadata [gw14] [ 47%] PASSED pelican/tests/test_importer.py::TestWordpressXMLAttachements::test_download_attachments pelican/tests/test_plugins.py::PluginTest::test_get_plugin_name [gw14] [ 47%] PASSED pelican/tests/test_plugins.py::PluginTest::test_get_plugin_name pelican/tests/test_plugins.py::PluginTest::test_load_plugins [gw14] [ 48%] PASSED pelican/tests/test_plugins.py::PluginTest::test_load_plugins pelican/tests/test_readers.py::RstReaderTest::test_article_extra_path_metadata_recurse [gw0] [ 48%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_extra_path_metadata pelican/tests/test_readers.py::RstReaderTest::test_article_extra_path_metadata_dont_overwrite [gw0] [ 48%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_extra_path_metadata_dont_overwrite pelican/tests/test_readers.py::RstReaderTest::test_article_with_capitalized_metadata [gw0] [ 49%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_with_capitalized_metadata [gw14] [ 49%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_extra_path_metadata_recurse pelican/tests/test_readers.py::RstReaderTest::test_article_with_filename_metadata [gw7] [ 49%] PASSED pelican/tests/test_generators.py::TestPageGenerator::test_generate_sorted pelican/tests/test_readers.py::RstReaderTest::test_article_metadata_key_lowercase pelican/tests/test_generators.py::TestPageGenerator::test_static_and_attach_links_on_generated_pages [gw7] [ 50%] PASSED pelican/tests/test_generators.py::TestPageGenerator::test_static_and_attach_links_on_generated_pages pelican/tests/test_generators.py::TestPageGenerator::test_tag_and_category_links_on_generated_pages [gw14] [ 50%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_metadata_key_lowercase [gw2] [ 50%] PASSED pelican/tests/test_cache.py::TestCache::test_article_reader_content_caching [gw0] [ 51%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_with_filename_metadata pelican/tests/test_readers.py::RstReaderTest::test_article_with_multiple_authors pelican/tests/test_cache.py::TestCache::test_generator_caching [gw14] [ 51%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_with_multiple_authors pelican/tests/test_readers.py::RstReaderTest::test_article_with_metadata pelican/tests/test_readers.py::RstReaderTest::test_article_with_multiple_authors_list [gw6] [ 51%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_articles_hidden pelican/tests/test_generators.py::TestArticlesGenerator::test_direct_templates_save_as_false [gw6] [ 52%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_direct_templates_save_as_false [gw0] [ 52%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_with_metadata pelican/tests/test_generators.py::TestArticlesGenerator::test_direct_templates_save_as_url_default pelican/tests/test_readers.py::RstReaderTest::test_article_with_multiple_authors_semicolon [gw14] [ 53%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_with_multiple_authors_list [gw0] [ 53%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_with_multiple_authors_semicolon [gw10] [ 53%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_feeds pelican/tests/test_readers.py::RstReaderTest::test_article_with_optional_filename_metadata pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_feeds_override_url [gw10] [ 54%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_feeds_override_url pelican/tests/test_readers.py::RstReaderTest::test_default_date_formats pelican/tests/test_generators.py::TestArticlesGenerator::test_nonexistent_template [gw14] [ 54%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_article_with_optional_filename_metadata [gw10] [ 54%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_nonexistent_template pelican/tests/test_readers.py::RstReaderTest::test_parse_error [gw14] [ 55%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_parse_error [gw0] [ 55%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_default_date_formats pelican/tests/test_generators.py::TestArticlesGenerator::test_per_article_template [gw10] [ 55%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_per_article_template pelican/tests/test_readers.py::RstReaderTest::test_typogrify_ignore_tags [gw6] [ 56%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_direct_templates_save_as_url_default pelican/tests/test_readers.py::RstReaderTest::test_typogrify_dashes_config pelican/tests/test_readers.py::RstReaderTest::test_typogrify pelican/tests/test_generators.py::TestArticlesGenerator::test_direct_templates_save_as_url_modified [gw7] [ 56%] PASSED pelican/tests/test_generators.py::TestPageGenerator::test_tag_and_category_links_on_generated_pages [gw6] [ 57%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_direct_templates_save_as_url_modified pelican/tests/test_generators.py::TestTemplatePagesGenerator::test_generate_output pelican/tests/test_readers.py::MdReaderTest::test_article_with_footnote [gw6] [ 57%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_article_with_footnote [gw7] [ 57%] PASSED pelican/tests/test_generators.py::TestTemplatePagesGenerator::test_generate_output [gw15] [ 58%] PASSED pelican/tests/test_pelican.py::TestPelican::test_parse_errors pelican/tests/test_readers.py::MdReaderTest::test_article_with_metadata pelican/tests/test_plugins.py::PluginTest::test_blinker_is_ordered pelican/tests/test_readers.py::MdReaderTest::test_article_with_markdown_markup_extension [gw7] [ 58%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_article_with_markdown_markup_extension [gw6] [ 58%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_article_with_metadata [gw15] [ 59%] PASSED pelican/tests/test_plugins.py::PluginTest::test_blinker_is_ordered pelican/tests/test_readers.py::MdReaderTest::test_article_with_optional_filename_metadata pelican/tests/test_plugins.py::PluginTest::test_get_namespace_plugins [gw7] [ 59%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_article_with_optional_filename_metadata [gw15] [ 59%] PASSED pelican/tests/test_plugins.py::PluginTest::test_get_namespace_plugins pelican/tests/test_readers.py::MdReaderTest::test_duplicate_tags_or_authors_are_removed pelican/tests/test_readers.py::MdReaderTest::test_empty_file pelican/tests/test_readers.py::MdReaderTest::test_empty_file_with_bom [gw6] [ 60%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_duplicate_tags_or_authors_are_removed [gw7] [ 60%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_empty_file pelican/tests/test_readers.py::MdReaderTest::test_metadata_not_parsed_for_metadata pelican/tests/test_readers.py::MdReaderTest::test_typogrify_dashes_config [gw0] [ 61%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_typogrify [gw6] [ 61%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_metadata_not_parsed_for_metadata [gw14] [ 61%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_typogrify_dashes_config pelican/tests/test_readers.py::MdReaderTest::test_article_with_file_extensions pelican/tests/test_readers.py::HTMLReaderTest::test_article_metadata_key_lowercase pelican/tests/test_readers.py::MdReaderTest::test_article_with_filename_metadata [gw6] [ 62%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_metadata_key_lowercase pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_inline_svg [gw6] [ 62%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_inline_svg pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_metadata [gw6] [ 62%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_metadata [gw15] [ 63%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_empty_file_with_bom pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_metadata_and_contents_attrib pelican/tests/test_readers.py::MdReaderTest::test_metadata_has_no_discarded_data [gw6] [ 63%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_metadata_and_contents_attrib [gw15] [ 63%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_metadata_has_no_discarded_data pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_multiple_similar_metadata_tags pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_multiple_authors [gw15] [ 64%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_multiple_similar_metadata_tags pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_null_attributes [gw15] [ 64%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_null_attributes [gw6] [ 64%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_multiple_authors pelican/tests/test_rstdirectives.py::Test_abbr_role::test pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_nonconformant_meta_tags [gw6] [ 65%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_nonconformant_meta_tags [gw15] [ 65%] PASSED pelican/tests/test_rstdirectives.py::Test_abbr_role::test [gw7] [ 66%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_typogrify_dashes_config [gw14] [ 66%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_article_with_filename_metadata pelican/tests/test_rstdirectives.py::Test_abbr_role::test_newlines_in_explanation pelican/tests/test_rstdirectives.py::Test_abbr_role::test_newlines_in_abbr [gw15] [ 66%] PASSED pelican/tests/test_rstdirectives.py::Test_abbr_role::test_newlines_in_abbr pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_attributes_containing_double_quotes pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_keywords [gw0] [ 67%] PASSED pelican/tests/test_readers.py::MdReaderTest::test_article_with_file_extensions [gw6] [ 67%] PASSED pelican/tests/test_rstdirectives.py::Test_abbr_role::test_newlines_in_explanation [gw14] [ 67%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_keywords [gw7] [ 68%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_attributes_containing_double_quotes [gw1] [ 68%] PASSED pelican/tests/test_cache.py::TestCache::test_article_object_caching pelican/tests/test_generators.py::TestGenerator::test_custom_jinja_environment pelican/tests/test_settings.py::TestSettingsConfiguration::test__printf_s_to_format_field [gw1] [ 68%] PASSED pelican/tests/test_generators.py::TestGenerator::test_custom_jinja_environment pelican/tests/test_generators.py::TestGenerator::test_get_files_exclude [gw1] [ 69%] PASSED pelican/tests/test_generators.py::TestGenerator::test_get_files_exclude pelican/tests/test_generators.py::TestGenerator::test_include_path pelican/tests/test_server.py::TestServer::test_get_path_that_exists pelican/tests/test_settings.py::TestSettingsConfiguration::test_default_encoding [gw14] [ 69%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_default_encoding [gw6] [ 70%] PASSED pelican/tests/test_server.py::TestServer::test_get_path_that_exists [gw15] [ 70%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test__printf_s_to_format_field pelican/tests/test_settings.py::TestSettingsConfiguration::test_configure_settings [gw7] [ 70%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_configure_settings [gw1] [ 71%] PASSED pelican/tests/test_generators.py::TestGenerator::test_include_path pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_comments [gw0] [ 71%] PASSED pelican/tests/test_readers.py::HTMLReaderTest::test_article_with_comments [gw10] [ 71%] FAILED pelican/tests/test_readers.py::RstReaderTest::test_typogrify_ignore_tags pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_extra_templates_paths pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_dir_setting [gw6] [ 72%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_dir_setting [gw14] [ 72%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_extra_templates_paths pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_paginated_direct_templates [gw7] [ 72%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_paginated_direct_templates [gw12] [ 73%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_do_not_use_folder_as_category pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_authors [gw12] [ 73%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_authors pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_categories [gw12] [ 74%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_categories pelican/tests/test_settings.py::TestSettingsConfiguration::test_defaults_not_overwritten [gw15] [ 74%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_defaults_not_overwritten pelican/tests/test_generators.py::TestGenerator::test_simple_prefix pelican/tests/test_readers.py::RstReaderTest::test_typogrify_summary [gw1] [ 74%] PASSED pelican/tests/test_generators.py::TestGenerator::test_simple_prefix pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_slug_substitutions_from_file pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_slug_substitutions [gw14] [ 75%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_slug_substitutions pelican/tests/test_settings.py::TestSettingsConfiguration::test_invalid_settings_throw_exception [gw7] [ 75%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_invalid_settings_throw_exception pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_paginated_direct_templates_from_file [gw0] [ 75%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_paginated_direct_templates_from_file [gw6] [ 76%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_deprecated_slug_substitutions_from_file pelican/tests/test_settings.py::TestSettingsConfiguration::test_dont_copy_small_keys pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_context [gw12] [ 76%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_generate_context pelican/tests/test_settings.py::TestSettingsConfiguration::test_settings_return_independent [gw14] [ 76%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_settings_return_independent pelican/tests/test_settings.py::TestSettingsConfiguration::test_keep_default_settings [gw1] [ 77%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_keep_default_settings pelican/tests/test_settings.py::TestSettingsConfiguration::test_slug_and_slug_regex_substitutions_exception [gw7] [ 77%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_slug_and_slug_regex_substitutions_exception pelican/tests/test_settings.py::TestSettingsConfiguration::test_read_empty_settings [gw0] [ 77%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_read_empty_settings pelican/tests/test_settings.py::TestSettingsConfiguration::test_static_path_settings_safety [gw6] [ 78%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_static_path_settings_safety [gw15] [ 78%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_dont_copy_small_keys pelican/tests/test_settings.py::TestSettingsConfiguration::test_theme_settings_exceptions [gw10] [ 79%] PASSED pelican/tests/test_readers.py::RstReaderTest::test_typogrify_summary pelican/tests/test_urlwrappers.py::TestURLWrapper::test_author_slug_substitutions pelican/tests/test_testsuite.py::TestSuiteTest::test_error_on_warning pelican/tests/test_urlwrappers.py::TestURLWrapper::test_equality [gw1] [ 79%] PASSED pelican/tests/test_testsuite.py::TestSuiteTest::test_error_on_warning pelican/tests/test_urlwrappers.py::TestURLWrapper::test_ordering [gw14] [ 79%] PASSED pelican/tests/test_urlwrappers.py::TestURLWrapper::test_author_slug_substitutions [gw0] [ 80%] PASSED pelican/tests/test_urlwrappers.py::TestURLWrapper::test_ordering [gw12] [ 80%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_theme_settings_exceptions [gw7] [ 80%] PASSED pelican/tests/test_urlwrappers.py::TestURLWrapper::test_equality pelican/tests/test_settings.py::TestSettingsConfiguration::test_theme_and_extra_templates_exception [gw15] [ 81%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_theme_and_extra_templates_exception pelican/tests/test_urlwrappers.py::TestURLWrapper::test_slugify_with_substitutions_and_dots [gw6] [ 81%] PASSED pelican/tests/test_urlwrappers.py::TestURLWrapper::test_slugify_with_substitutions_and_dots pelican/tests/test_settings.py::TestSettingsConfiguration::test_overwrite_existing_settings pelican/tests/test_utils.py::TestUtils::test_clean_output_dir_not_there pelican/tests/test_utils.py::TestUtils::test_clean_output_dir [gw1] [ 81%] PASSED pelican/tests/test_utils.py::TestUtils::test_clean_output_dir_not_there [gw10] [ 82%] PASSED pelican/tests/test_settings.py::TestSettingsConfiguration::test_overwrite_existing_settings pelican/tests/test_utils.py::TestUtils::test_get_date [gw0] [ 82%] PASSED pelican/tests/test_utils.py::TestUtils::test_get_date pelican/tests/test_utils.py::TestUtils::test_get_relative_path [gw6] [ 83%] PASSED pelican/tests/test_utils.py::TestUtils::test_get_relative_path pelican/tests/test_utils.py::TestUtils::test_maybe_pluralize [gw15] [ 83%] PASSED pelican/tests/test_utils.py::TestUtils::test_maybe_pluralize pelican/tests/test_utils.py::TestUtils::test_deprecated_attribute [gw7] [ 83%] PASSED pelican/tests/test_utils.py::TestUtils::test_deprecated_attribute pelican/tests/test_utils.py::TestUtils::test_clean_output_dir_is_file [gw14] [ 84%] PASSED pelican/tests/test_utils.py::TestUtils::test_clean_output_dir_is_file pelican/tests/test_utils.py::TestUtils::test_slugify pelican/tests/test_utils.py::TestUtils::test_strftime_locale_dependent_turkish pelican/tests/test_utils.py::TestUtils::test_slugify_use_unicode [gw12] [ 84%] PASSED pelican/tests/test_utils.py::TestUtils::test_clean_output_dir pelican/tests/test_utils.py::TestUtils::test_strftime [gw7] [ 84%] PASSED pelican/tests/test_utils.py::TestUtils::test_slugify_use_unicode pelican/tests/test_utils.py::TestUtils::test_strftime_locale_dependent_french [gw14] [ 85%] PASSED pelican/tests/test_utils.py::TestUtils::test_strftime_locale_dependent_french [gw15] [ 85%] PASSED pelican/tests/test_utils.py::TestUtils::test_strftime pelican/tests/test_utils.py::TestUtils::test_process_translations [gw6] [ 85%] PASSED pelican/tests/test_utils.py::TestUtils::test_strftime_locale_dependent_turkish pelican/tests/test_utils.py::TestUtils::test_slugify_substitute [gw1] [ 86%] PASSED pelican/tests/test_utils.py::TestUtils::test_slugify pelican/tests/test_utils.py::TestUtils::test_slugify_substitute_and_keeping_non_alphanum pelican/tests/test_utils.py::TestCopy::test_copy_dir_different_path [gw0] [ 86%] PASSED pelican/tests/test_utils.py::TestUtils::test_slugify_substitute pelican/tests/test_utils.py::TestCopy::test_copy_file_create_dirs [gw12] [ 87%] PASSED pelican/tests/test_utils.py::TestUtils::test_slugify_substitute_and_keeping_non_alphanum [gw10] [ 87%] PASSED pelican/tests/test_utils.py::TestUtils::test_process_translations [gw3] [ 87%] PASSED pelican/tests/test_cache.py::TestCache::test_reader_caching [gw7] [ 88%] PASSED pelican/tests/test_utils.py::TestCopy::test_copy_dir_different_path pelican/tests/test_cli.py::TestParseOverrides::test_flags [gw14] [ 88%] PASSED pelican/tests/test_utils.py::TestCopy::test_copy_file_create_dirs pelican/tests/test_utils.py::TestCopy::test_copy_dir_create_dirs [gw15] [ 88%] PASSED pelican/tests/test_utils.py::TestCopy::test_copy_dir_create_dirs pelican/tests/test_utils.py::TestUtils::test_truncate_html_words pelican/tests/test_utils.py::TestCopy::test_copy_file_different_path pelican/tests/test_utils.py::TestCopy::test_copy_dir_same_path [gw3] [ 89%] PASSED pelican/tests/test_cli.py::TestParseOverrides::test_flags pelican/tests/test_utils.py::TestUtils::test_temporary_locale [gw0] [ 89%] PASSED pelican/tests/test_utils.py::TestCopy::test_copy_file_different_path pelican/tests/test_utils.py::TestCopy::test_copy_file_same_path [gw1] [ 89%] PASSED pelican/tests/test_utils.py::TestUtils::test_temporary_locale pelican/tests/test_cli.py::TestParseOverrides::test_parse_invalid_json [gw10] [ 90%] PASSED pelican/tests/test_utils.py::TestCopy::test_copy_dir_same_path pelican/tests/test_utils.py::TestDateFormatter::test_french_locale [gw6] [ 90%] PASSED pelican/tests/test_utils.py::TestUtils::test_truncate_html_words pelican/tests/test_utils.py::TestDateFormatter::test_french_strftime [gw12] [ 90%] PASSED pelican/tests/test_utils.py::TestCopy::test_copy_file_same_path [gw14] [ 91%] PASSED pelican/tests/test_utils.py::TestDateFormatter::test_french_strftime [gw7] [ 91%] PASSED pelican/tests/test_utils.py::TestDateFormatter::test_french_locale pelican/tests/test_utils.py::TestDateFormatter::test_turkish_locale pelican/tests/test_utils.py::TestSanitisedJoin::test_detect_root_breakout pelican/tests/test_utils.py::TestMemoized::test_memoized [gw0] [ 92%] PASSED pelican/tests/test_utils.py::TestSanitisedJoin::test_detect_root_breakout [gw3] [ 92%] PASSED pelican/tests/test_cli.py::TestParseOverrides::test_parse_invalid_json [gw1] [ 92%] PASSED pelican/tests/test_utils.py::TestMemoized::test_memoized [gw15] [ 93%] PASSED pelican/tests/test_utils.py::TestDateFormatter::test_turkish_locale pelican/tests/test_utils.py::TestSanitisedJoin::test_pass_deep_subpaths pelican/tests/test_utils.py::TestSanitisedJoin::test_detect_parent_breakout [gw10] [ 93%] PASSED pelican/tests/test_utils.py::TestSanitisedJoin::test_pass_deep_subpaths [gw6] [ 93%] PASSED pelican/tests/test_utils.py::TestSanitisedJoin::test_detect_parent_breakout [gw2] [ 94%] PASSED pelican/tests/test_cache.py::TestCache::test_generator_caching pelican/tests/test_cache.py::TestCache::test_page_ignore_cache [gw11] [ 94%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_article_order_by [gw2] [ 94%] PASSED pelican/tests/test_cache.py::TestCache::test_page_ignore_cache pelican/tests/test_generators.py::TestArticlesGenerator::test_articles_draft pelican/tests/test_cache.py::TestCache::test_page_object_caching [gw11] [ 95%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_articles_draft [gw2] [ 95%] PASSED pelican/tests/test_cache.py::TestCache::test_page_object_caching [gw5] [ 96%] PASSED pelican/tests/test_pelican.py::TestPelican::test_theme_static_paths_copy pelican/tests/test_pelican.py::TestPelican::test_theme_static_paths_copy_single_file [gw8] [ 96%] PASSED pelican/tests/test_pelican.py::TestPelican::test_md_extensions_deprecation pelican/tests/test_pelican.py::TestPelican::test_module_load [gw9] [ 96%] FAILED pelican/tests/test_pelican.py::TestPelican::test_basic_generation_works pelican/tests/test_pelican.py::TestPelican::test_custom_generation_works [gw13] [ 97%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_period_archives_context pelican/tests/test_generators.py::TestArticlesGenerator::test_period_in_timeperiod_archive [gw4] [ 97%] FAILED pelican/tests/test_pelican.py::TestPelican::test_custom_locale_generation_works pelican/tests/test_pelican.py::TestPelican::test_cyclic_intersite_links_no_warnings [gw4] [ 97%] PASSED pelican/tests/test_pelican.py::TestPelican::test_cyclic_intersite_links_no_warnings [gw5] [ 98%] PASSED pelican/tests/test_pelican.py::TestPelican::test_theme_static_paths_copy_single_file [gw9] [ 98%] FAILED pelican/tests/test_pelican.py::TestPelican::test_custom_generation_works [gw13] [ 98%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_period_in_timeperiod_archive pelican/tests/test_generators.py::TestArticlesGenerator::test_standard_metadata_in_default_metadata [gw8] [ 99%] PASSED pelican/tests/test_pelican.py::TestPelican::test_module_load [gw13] [ 99%] PASSED pelican/tests/test_generators.py::TestArticlesGenerator::test_standard_metadata_in_default_metadata pelican/tests/test_generators.py::TestPageGenerator::test_generate_context [gw13] [100%] PASSED pelican/tests/test_generators.py::TestPageGenerator::test_generate_context =================================== FAILURES =================================== ___________________ RstReaderTest.test_typogrify_ignore_tags ___________________ [gw10] linux -- Python 3.12.8 /usr/src/RPM/BUILD/pelican-4.9.1/.run_venv/bin/python3 self = def test_typogrify_ignore_tags(self): try: # typogrify should be able to ignore user specified tags, # but tries to be clever with widont extension page = self.read_file( path="article.rst", TYPOGRIFY=True, TYPOGRIFY_IGNORE_TAGS=["p"] ) expected = ( "

THIS is some content. With some stuff to " ""typogrify"...

\n

Now with added " 'support for ' "TLA.

\n" ) > self.assertEqual(page.content, expected) E AssertionError: '

T[34 chars]ff to "typogrify"...

\n

Now wit[68 chars]p>\n' != '

T[34 chars]ff to "typogrify"...

\n

No[73 chars]p>\n' E -

THIS is some content. With some stuff to "typogrify"...

E ? ^ E +

THIS is some content. With some stuff to "typogrify"...

E ? ^^^^^^ E

Now with added support for TLA.

pelican/tests/test_readers.py:415: AssertionError ___________________ TestPelican.test_basic_generation_works ____________________ [gw9] linux -- Python 3.12.8 /usr/src/RPM/BUILD/pelican-4.9.1/.run_venv/bin/python3 self = @skipIfNoExecutable(["git", "--version"]) def test_basic_generation_works(self): # when running pelican without settings, it should pick up the default # ones and generate correct output without raising any exception settings = read_settings( path=None, override={ "PATH": INPUT_PATH, "OUTPUT_PATH": self.temp_path, "CACHE_PATH": self.temp_cache, "LOCALE": locale.normalize("en_US"), }, ) pelican = Pelican(settings=settings) mute(True)(pelican.run)() > self.assertDirsEqual(self.temp_path, os.path.join(OUTPUT_PATH, "basic")) pelican/tests/test_pelican.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = left_path = '/usr/src/tmp/pelicantests._i2pb0bh' right_path = '/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic' msg = '/usr/src/tmp/pelicantests._i2pb0bh and /usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic differ:\nstdout:\n.../pre>\n

Lovely.

\n \n
\n\nstderr\n' def assertDirsEqual(self, left_path, right_path, msg=None): """ Check if the files are the same (ignoring whitespace) below both paths. """ proc = diff_subproc(left_path, right_path) out, err = proc.communicate() if proc.returncode != 0: msg = self._formatMessage( msg, "%s and %s differ:\nstdout:\n%s\nstderr\n%s" % (left_path, right_path, out, err), ) > raise self.failureException(msg) E AssertionError: /usr/src/tmp/pelicantests._i2pb0bh and /usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic differ: E stdout: E diff --git a/usr/src/tmp/pelicantests._i2pb0bh/feeds/all-en.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/feeds/all-en.atom.xml E index d1689db..9c44c86 100644 E --- a/usr/src/tmp/pelicantests._i2pb0bh/feeds/all-en.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/feeds/all-en.atom.xml E @@ -55,7 +55,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests._i2pb0bh/feeds/all.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/feeds/all.atom.xml E index 89d9738..e9dceb6 100644 E --- a/usr/src/tmp/pelicantests._i2pb0bh/feeds/all.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/feeds/all.atom.xml E @@ -57,7 +57,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests._i2pb0bh/feeds/misc.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/feeds/misc.atom.xml E index 9869811..a307ac4 100644 E --- a/usr/src/tmp/pelicantests._i2pb0bh/feeds/misc.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/feeds/misc.atom.xml E @@ -30,7 +30,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests._i2pb0bh/unbelievable.html b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/unbelievable.html E index a8c5612..d87c31e 100644 E --- a/usr/src/tmp/pelicantests._i2pb0bh/unbelievable.html E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/basic/unbelievable.html E @@ -57,7 +57,7 @@ pelican.conf, it will have nothing in default.

E
E
E

Testing more sourcecode directives

E -
 8def run(self):
self.assert_has_content()
10 try:
lexer = get_lexer_by_name(self.arguments[0])
12 except ValueError:
# no lexer found - use the text one instead of an exception
14 lexer = TextLexer()

16 if ('linenos' in self.options and
self.options['linenos'] not in ('table', 'inline')):
18 self.options['linenos'] = 'table'

20 for flag in ('nowrap', 'nobackground', 'anchorlinenos'):
if flag in self.options:
22 self.options[flag] = True

24 # noclasses should already default to False, but just in case...
formatter = HtmlFormatter(noclasses=False, **self.options)
26 parsed = highlight('\n'.join(self.content), lexer, formatter)
return [nodes.raw('', parsed, format='html')]
E +
 8def run(self):
self.assert_has_content()
10 try:
lexer = get_lexer_by_name(self.arguments[0])
12 except ValueError:
# no lexer found - use the text one instead of an exception
14 lexer = TextLexer()

16 if ('linenos' in self.options and
self.options['linenos'] not in ('table', 'inline')):
18 self.options['linenos'] = 'table'

20 for flag in ('nowrap', 'nobackground', 'anchorlinenos'):
if flag in self.options:
22 self.options[flag] = True

24 # noclasses should already default to False, but just in case...
formatter = HtmlFormatter(noclasses=False, **self.options)
26 parsed = highlight('\n'.join(self.content), lexer, formatter)
return [nodes.raw('', parsed, format='html')]
E

Lovely.

E
E
E E stderr pelican/tests/test_pelican.py:77: AssertionError ------------------------------ Captured log call ------------------------------- WARNING pelican.settings:log.py:89 Feeds generated without SITEURL set properly may not be valid WARNING pelican.settings:log.py:89 No timezone information specified in the settings. Assuming your timezone is UTC for feed generation. Check https://docs.getpelican.com/en/latest/settings.html#TIMEZONE for more information ERROR pelican.contents:log.py:94 Skipping /usr/src/RPM/BUILD/pelican-4.9.1/samples/content/pages/jinja2_template.html: could not find information about 'title' WARNING pelican.contents:log.py:89 Unable to find '/images/Fat_Cat.jpg', skipping url replacement. _______________ TestPelican.test_custom_locale_generation_works ________________ [gw4] linux -- Python 3.12.8 /usr/src/RPM/BUILD/pelican-4.9.1/.run_venv/bin/python3 self = @skipIfNoExecutable(["git", "--version"]) @unittest.skipUnless( locale_available("fr_FR.UTF-8") or locale_available("French"), "French locale needed", ) def test_custom_locale_generation_works(self): """Test that generation with fr_FR.UTF-8 locale works""" if sys.platform == "win32": our_locale = "French" else: our_locale = "fr_FR.UTF-8" settings = read_settings( path=SAMPLE_FR_CONFIG, override={ "PATH": INPUT_PATH, "OUTPUT_PATH": self.temp_path, "CACHE_PATH": self.temp_cache, "LOCALE": our_locale, }, ) pelican = Pelican(settings=settings) mute(True)(pelican.run)() > self.assertDirsEqual(self.temp_path, os.path.join(OUTPUT_PATH, "custom_locale")) pelican/tests/test_pelican.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = left_path = '/usr/src/tmp/pelicantests.3_r9b2h0' right_path = '/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale' msg = '/usr/src/tmp/pelicantests.3_r9b2h0 and /usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale differ:\ns.../pre>
\n

Lovely.

\n \n
\n\nstderr\n' def assertDirsEqual(self, left_path, right_path, msg=None): """ Check if the files are the same (ignoring whitespace) below both paths. """ proc = diff_subproc(left_path, right_path) out, err = proc.communicate() if proc.returncode != 0: msg = self._formatMessage( msg, "%s and %s differ:\nstdout:\n%s\nstderr\n%s" % (left_path, right_path, out, err), ) > raise self.failureException(msg) E AssertionError: /usr/src/tmp/pelicantests.3_r9b2h0 and /usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale differ: E stdout: E diff --git a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/alexis-metaireau.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/alexis-metaireau.atom.xml E index fb6250b..d52de6f 100644 E --- a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/alexis-metaireau.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/alexis-metaireau.atom.xml E @@ -55,7 +55,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/all-en.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/all-en.atom.xml E index fadaaba..974c63b 100644 E --- a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/all-en.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/all-en.atom.xml E @@ -55,7 +55,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/all.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/all.atom.xml E index d986953..e106359 100644 E --- a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/all.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/all.atom.xml E @@ -57,7 +57,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/misc.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/misc.atom.xml E index 0a0b023..2e46b47 100644 E --- a/usr/src/tmp/pelicantests.3_r9b2h0/feeds/misc.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/feeds/misc.atom.xml E @@ -30,7 +30,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.3_r9b2h0/posts/2010/octobre/15/unbelievable/index.html b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html E index 5e907a7..f27464f 100644 E --- a/usr/src/tmp/pelicantests.3_r9b2h0/posts/2010/octobre/15/unbelievable/index.html E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html E @@ -64,7 +64,7 @@ pelican.conf, it will have nothing in default.

E
E
E

Testing more sourcecode directives

E -
 8def run(self):
self.assert_has_content()
10 try:
lexer = get_lexer_by_name(self.arguments[0])
12 except ValueError:
# no lexer found - use the text one instead of an exception
14 lexer = TextLexer()

16 if ('linenos' in self.options and
self.options['linenos'] not in ('table', 'inline')):
18 self.options['linenos'] = 'table'

20 for flag in ('nowrap', 'nobackground', 'anchorlinenos'):
if flag in self.options:
22 self.options[flag] = True

24 # noclasses should already default to False, but just in case...
formatter = HtmlFormatter(noclasses=False, **self.options)
26 parsed = highlight('\n'.join(self.content), lexer, formatter)
return [nodes.raw('', parsed, format='html')]
E +
 8def run(self):
self.assert_has_content()
10 try:
lexer = get_lexer_by_name(self.arguments[0])
12 except ValueError:
# no lexer found - use the text one instead of an exception
14 lexer = TextLexer()

16 if ('linenos' in self.options and
self.options['linenos'] not in ('table', 'inline')):
18 self.options['linenos'] = 'table'

20 for flag in ('nowrap', 'nobackground', 'anchorlinenos'):
if flag in self.options:
22 self.options[flag] = True

24 # noclasses should already default to False, but just in case...
formatter = HtmlFormatter(noclasses=False, **self.options)
26 parsed = highlight('\n'.join(self.content), lexer, formatter)
return [nodes.raw('', parsed, format='html')]
E

Lovely.

E
E
E E stderr pelican/tests/test_pelican.py:77: AssertionError ------------------------------ Captured log call ------------------------------- ERROR pelican.contents:log.py:94 Skipping /usr/src/RPM/BUILD/pelican-4.9.1/samples/content/pages/jinja2_template.html: could not find information about 'title' WARNING pelican.contents:log.py:89 Unable to find '/images/Fat_Cat.jpg', skipping url replacement. WARNING pelican.settings:log.py:89 Feeds generated without SITEURL set properly may not be valid WARNING pelican.settings:log.py:89 No timezone information specified in the settings. Assuming your timezone is UTC for feed generation. Check https://docs.getpelican.com/en/latest/settings.html#TIMEZONE for more information ___________________ TestPelican.test_custom_generation_works ___________________ [gw9] linux -- Python 3.12.8 /usr/src/RPM/BUILD/pelican-4.9.1/.run_venv/bin/python3 self = @skipIfNoExecutable(["git", "--version"]) def test_custom_generation_works(self): # the same thing with a specified set of settings should work settings = read_settings( path=SAMPLE_CONFIG, override={ "PATH": INPUT_PATH, "OUTPUT_PATH": self.temp_path, "CACHE_PATH": self.temp_cache, "LOCALE": locale.normalize("en_US.UTF-8"), }, ) pelican = Pelican(settings=settings) mute(True)(pelican.run)() > self.assertDirsEqual(self.temp_path, os.path.join(OUTPUT_PATH, "custom")) pelican/tests/test_pelican.py:133: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = left_path = '/usr/src/tmp/pelicantests.6un9rls3' right_path = '/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom' msg = '/usr/src/tmp/pelicantests.6un9rls3 and /usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom differ:\nstdout:\.../pre>
\n

Lovely.

\n \n
\n\nstderr\n' def assertDirsEqual(self, left_path, right_path, msg=None): """ Check if the files are the same (ignoring whitespace) below both paths. """ proc = diff_subproc(left_path, right_path) out, err = proc.communicate() if proc.returncode != 0: msg = self._formatMessage( msg, "%s and %s differ:\nstdout:\n%s\nstderr\n%s" % (left_path, right_path, out, err), ) > raise self.failureException(msg) E AssertionError: /usr/src/tmp/pelicantests.6un9rls3 and /usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom differ: E stdout: E diff --git a/usr/src/tmp/pelicantests.6un9rls3/feeds/alexis-metaireau.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/alexis-metaireau.atom.xml E index 9f4c3a8..f6cde37 100644 E --- a/usr/src/tmp/pelicantests.6un9rls3/feeds/alexis-metaireau.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/alexis-metaireau.atom.xml E @@ -55,7 +55,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.6un9rls3/feeds/all-en.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/all-en.atom.xml E index ff96885..703f56f 100644 E --- a/usr/src/tmp/pelicantests.6un9rls3/feeds/all-en.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/all-en.atom.xml E @@ -55,7 +55,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.6un9rls3/feeds/all.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/all.atom.xml E index c76601f..de5e733 100644 E --- a/usr/src/tmp/pelicantests.6un9rls3/feeds/all.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/all.atom.xml E @@ -57,7 +57,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.6un9rls3/feeds/misc.atom.xml b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/misc.atom.xml E index 813059d..a260f67 100644 E --- a/usr/src/tmp/pelicantests.6un9rls3/feeds/misc.atom.xml E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/feeds/misc.atom.xml E @@ -30,7 +30,7 @@ pelican.conf, it will have nothing in default.</p> E </div> E <div class="section" id="testing-more-sourcecode-directives"> E <h2>Testing more sourcecode directives</h2> E -<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span><span class="testingw"> </span><span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E +<div class="highlight"><pre><span></span><span id="foo-8"><a id="foo-8" name="foo-8"></a><a href="#foo-8"><span class="linenos special"> 8</span></a><span class="testingk">def</span> <span class="testingnf">run</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingp">):</span><br></span><span id="foo-9"><a id="foo-9" name="foo-9"></a><a href="#foo-9"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">assert_has_content</span><span class="testingp">()</span><br></span><span id="foo-10"><a id="foo-10" name="foo-10"></a><a href="#foo-10"><span class="linenos special">10</span></a> <span class="testingk">try</span><span class="testingp">:</span><br></span><span id="foo-11"><a id="foo-11" name="foo-11"></a><a href="#foo-11"><span class="linenos"> </span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">get_lexer_by_name</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">arguments</span><span class="testingp">[</span><span class="testingmi">0</span><span class="testingp">])</span><br></span><span id="foo-12"><a id="foo-12" name="foo-12"></a><a href="#foo-12"><span class="linenos special">12</span></a> <span class="testingk">except</span> <span class="testingne">ValueError</span><span class="testingp">:</span><br></span><span id="foo-13"><a id="foo-13" name="foo-13"></a><a href="#foo-13"><span class="linenos"> </span></a> <span class="testingc1"># no lexer found - use the text one instead of an exception</span><br></span><span id="foo-14"><a id="foo-14" name="foo-14"></a><a href="#foo-14"><span class="linenos special">14</span></a> <span class="testingn">lexer</span> <span class="testingo">=</span> <span class="testingn">TextLexer</span><span class="testingp">()</span><br></span><span id="foo-15"><a id="foo-15" name="foo-15"></a><a href="#foo-15"><span class="linenos"> </span></a><br></span><span id="foo-16"><a id="foo-16" name="foo-16"></a><a href="#foo-16"><span class="linenos special">16</span></a> <span class="testingk">if</span> <span class="testingp">(</span><span class="testings1">&#39;linenos&#39;</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span> <span class="testingow">and</span><br></span><span id="foo-17"><a id="foo-17" name="foo-17"></a><a href="#foo-17"><span class="linenos"> </span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingow">not</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;table&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;inline&#39;</span><span class="testingp">)):</span><br></span><span id="foo-18"><a id="foo-18" name="foo-18"></a><a href="#foo-18"><span class="linenos special">18</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testings1">&#39;linenos&#39;</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testings1">&#39;table&#39;</span><br></span><span id="foo-19"><a id="foo-19" name="foo-19"></a><a href="#foo-19"><span class="linenos"> </span></a><br></span><span id="foo-20"><a id="foo-20" name="foo-20"></a><a href="#foo-20"><span class="linenos special">20</span></a> <span class="testingk">for</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingp">(</span><span class="testings1">&#39;nowrap&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;nobackground&#39;</span><span class="testingp">,</span> <span class="testings1">&#39;anchorlinenos&#39;</span><span class="testingp">):</span><br></span><span id="foo-21"><a id="foo-21" name="foo-21"></a><a href="#foo-21"><span class="linenos"> </span></a> <span class="testingk">if</span> <span class="testingn">flag</span> <span class="testingow">in</span> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">:</span><br></span><span id="foo-22"><a id="foo-22" name="foo-22"></a><a href="#foo-22"><span class="linenos special">22</span></a> <span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">[</span><span class="testingn">flag</span><span class="testingp">]</span> <span class="testingo">=</span> <span class="testingkc">True</span><br></span><span id="foo-23"><a id="foo-23" name="foo-23"></a><a href="#foo-23"><span class="linenos"> </span></a><br></span><span id="foo-24"><a id="foo-24" name="foo-24"></a><a href="#foo-24"><span class="linenos special">24</span></a> <span class="testingc1"># noclasses should already default to False, but just in case...</span><br></span><span id="foo-25"><a id="foo-25" name="foo-25"></a><a href="#foo-25"><span class="linenos"> </span></a> <span class="testingn">formatter</span> <span class="testingo">=</span> <span class="testingn">HtmlFormatter</span><span class="testingp">(</span><span class="testingn">noclasses</span><span class="testingo">=</span><span class="testingkc">False</span><span class="testingp">,</span> <span class="testingo">**</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">options</span><span class="testingp">)</span><br></span><span id="foo-26"><a id="foo-26" name="foo-26"></a><a href="#foo-26"><span class="linenos special">26</span></a> <span class="testingn">parsed</span> <span class="testingo">=</span> <span class="testingn">highlight</span><span class="testingp">(</span><span class="testings1">&#39;</span><span class="testingse">\n</span><span class="testings1">&#39;</span><span class="testingo">.</span><span class="testingn">join</span><span class="testingp">(</span><span class="testingbp">self</span><span class="testingo">.</span><span class="testingn">content</span><span class="testingp">),</span> <span class="testingn">lexer</span><span class="testingp">,</span> <span class="testingn">formatter</span><span class="testingp">)</span><br></span><span id="foo-27"><a id="foo-27" name="foo-27"></a><a href="#foo-27"><span class="linenos"> </span></a> <span class="testingk">return</span> <span class="testingp">[</span><span class="testingn">nodes</span><span class="testingo">.</span><span class="testingn">raw</span><span class="testingp">(</span><span class="testings1">&#39;&#39;</span><span class="testingp">,</span> <span class="testingn">parsed</span><span class="testingp">,</span> <span class="testingnb">format</span><span class="testingo">=</span><span class="testings1">&#39;html&#39;</span><span class="testingp">)]</span><br></span></pre></div> E <p>Lovely.</p> E </div> E <div class="section" id="testing-even-more-sourcecode-directives"> E diff --git a/usr/src/tmp/pelicantests.6un9rls3/unbelievable.html b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/unbelievable.html E index 470074e..a7ad0ef 100644 E --- a/usr/src/tmp/pelicantests.6un9rls3/unbelievable.html E +++ b/usr/src/RPM/BUILD/pelican-4.9.1/pelican/tests/output/custom/unbelievable.html E @@ -64,7 +64,7 @@ pelican.conf, it will have nothing in default.

E
E
E

Testing more sourcecode directives

E -
 8def run(self):
self.assert_has_content()
10 try:
lexer = get_lexer_by_name(self.arguments[0])
12 except ValueError:
# no lexer found - use the text one instead of an exception
14 lexer = TextLexer()

16 if ('linenos' in self.options and
self.options['linenos'] not in ('table', 'inline')):
18 self.options['linenos'] = 'table'

20 for flag in ('nowrap', 'nobackground', 'anchorlinenos'):
if flag in self.options:
22 self.options[flag] = True

24 # noclasses should already default to False, but just in case...
formatter = HtmlFormatter(noclasses=False, **self.options)
26 parsed = highlight('\n'.join(self.content), lexer, formatter)
return [nodes.raw('', parsed, format='html')]
E +
 8def run(self):
self.assert_has_content()
10 try:
lexer = get_lexer_by_name(self.arguments[0])
12 except ValueError:
# no lexer found - use the text one instead of an exception
14 lexer = TextLexer()

16 if ('linenos' in self.options and
self.options['linenos'] not in ('table', 'inline')):
18 self.options['linenos'] = 'table'

20 for flag in ('nowrap', 'nobackground', 'anchorlinenos'):
if flag in self.options:
22 self.options[flag] = True

24 # noclasses should already default to False, but just in case...
formatter = HtmlFormatter(noclasses=False, **self.options)
26 parsed = highlight('\n'.join(self.content), lexer, formatter)
return [nodes.raw('', parsed, format='html')]
E

Lovely.

E
E
E E stderr pelican/tests/test_pelican.py:77: AssertionError =============================== warnings summary =============================== pelican/tests/test_readers.py::RstReaderTest::test_typogrify pelican/tests/test_readers.py::RstReaderTest::test_typogrify_dashes_config pelican/tests/test_readers.py::MdReaderTest::test_typogrify_dashes_config pelican/tests/test_readers.py::RstReaderTest::test_typogrify_ignore_tags /usr/lib/python3/site-packages/smartypants.py:271: SyntaxWarning: invalid escape sequence '\S' if re.match("\S", prev_token_last_char): pelican/tests/test_readers.py::RstReaderTest::test_typogrify pelican/tests/test_readers.py::RstReaderTest::test_typogrify_dashes_config pelican/tests/test_readers.py::MdReaderTest::test_typogrify_dashes_config pelican/tests/test_readers.py::RstReaderTest::test_typogrify_ignore_tags /usr/lib/python3/site-packages/smartypants.py:277: SyntaxWarning: invalid escape sequence '\S' if re.match("\S", prev_token_last_char): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [5] pelican/tests/build_test/test_build_files.py:35: Only run when --check-build is given SKIPPED [1] pelican/tests/build_test/test_build_files.py:9: Only run when --check-build is given SKIPPED [1] pelican/tests/test_importer.py:284: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:351: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:55: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:216: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:237: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:142: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:325: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:364: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:376: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:335: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:190: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:73: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:321: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:308: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:119: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:169: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:262: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:103: ['pandoc', '--version'] executable not found SKIPPED [1] pelican/tests/test_importer.py:149: ['pandoc', '--version'] executable not found FAILED pelican/tests/test_readers.py::RstReaderTest::test_typogrify_ignore_tags FAILED pelican/tests/test_pelican.py::TestPelican::test_basic_generation_works FAILED pelican/tests/test_pelican.py::TestPelican::test_custom_locale_generation_works FAILED pelican/tests/test_pelican.py::TestPelican::test_custom_generation_works ============ 4 failed, 248 passed, 25 skipped, 8 warnings in 2.84s ============= INFO : Command's result: FAILURE INFO : Command's error: Command '['python3', '-m', 'pytest', '-v']' returned non-zero exit status 1. error: Bad exit status from /usr/src/tmp/rpm-tmp.72816 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.72816 (%check) Command exited with non-zero status 1 25.96user 2.93system 0:05.01elapsed 576%CPU (0avgtext+0avgdata 48352maxresident)k 0inputs+0outputs (0major+302421minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-pelican-4.9.1-alt2.src.rpm' failed. Command exited with non-zero status 1 4.21user 3.31system 0:18.63elapsed 40%CPU (0avgtext+0avgdata 131600maxresident)k 608inputs+0outputs (0major+339240minor)pagefaults 0swaps