summaryrefslogtreecommitdiffstats
path: root/tests/test_alternatives.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:47 +0000
commit03a1bd448be99d872d663a57a1cf4492882e090d (patch)
treec3d23691aa4dfdba89856bde05707a9a8e16abab /tests/test_alternatives.py
parentAdding upstream version 0.1.28. (diff)
downloaddebputy-03a1bd448be99d872d663a57a1cf4492882e090d.tar.xz
debputy-03a1bd448be99d872d663a57a1cf4492882e090d.zip
Adding upstream version 0.1.29.upstream/0.1.29
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_alternatives.py')
-rw-r--r--tests/test_alternatives.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_alternatives.py b/tests/test_alternatives.py
index 2a42d69..c395dab 100644
--- a/tests/test_alternatives.py
+++ b/tests/test_alternatives.py
@@ -79,6 +79,8 @@ def test_alternatives(
prerm = maintscript_snippets["prerm"].generate_snippet(reverse=True)
postinst = maintscript_snippets["postinst"].generate_snippet(reverse=True)
+ assert prerm is not None
+ assert postinst is not None
assert "--remove x-terminal-emulator /usr/bin/xterm" in prerm
assert (
"--install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/xterm 20"