Modernize Python director entry point
Debian Trixie package bundle / packages (push) Successful in 22m28s
Debian Trixie package bundle / packages (push) Successful in 22m28s
This commit is contained in:
@@ -35,10 +35,15 @@ import io
|
||||
|
||||
from bongo import table
|
||||
from bongo.Console import wrap
|
||||
from bongo.configuration.cli import main_admin, main_setup
|
||||
from bongo.configuration.spamassassin_update import main as sa_update_main
|
||||
from bongo.external.simpletal import simpleTAL, simpleTALES
|
||||
from bongo.external.simpletal.simpleElementTree import parseFile
|
||||
from bongo.storetool import BackupCommands, CalendarCommands, MailCommands
|
||||
|
||||
assert callable(main_admin)
|
||||
assert callable(main_setup)
|
||||
assert callable(sa_update_main)
|
||||
assert isinstance(wrap("Grüße 世界", width=8), str)
|
||||
assert "Müller" in table.format_table(["Name"], [["Müller"]])
|
||||
|
||||
@@ -58,6 +63,7 @@ bongo-admin --help >"${temporary}/bongo-admin.help"
|
||||
bongo-storetool --help >"${temporary}/bongo-storetool.help"
|
||||
bongo-queuetool --help >"${temporary}/bongo-queuetool.help"
|
||||
bongo-web --help >"${temporary}/bongo-web.help"
|
||||
bongodirector --help >"${temporary}/bongodirector.help"
|
||||
/usr/libexec/bongo/bongo-sa-update --help \
|
||||
>"${temporary}/bongo-sa-update.help"
|
||||
|
||||
@@ -71,4 +77,4 @@ set -e
|
||||
test "${status}" -eq 1
|
||||
grep -q '"ok":false' "${temporary}/bongo-acme.json"
|
||||
|
||||
echo "PYTHON-3 PASS compileall=installed imports=storetool,template,xml cli=6"
|
||||
echo "PYTHON-3 PASS compileall=installed imports=config,storetool,template,xml cli=7"
|
||||
|
||||
Reference in New Issue
Block a user