File: smoketest3

package info (click to toggle)
python-html2text 2025.4.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 976 kB
  • sloc: python: 1,659; sh: 32; makefile: 5
file content (14 lines) | stat: -rwxr-xr-x 256 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -efu

pys="$(py3versions -s 2> /dev/null)"

cd "$AUTOPKGTEST_TMP"
printf '# hi\n\n' > expected.txt


for py in $pys; do
	echo "=== $py ==="
	echo '<h1>hi</h1>' | $py -m html2text > output-${py}.txt
	diff -u expected.txt output-${py}.txt
done