summaryrefslogtreecommitdiffstats
path: root/tests/test_alternatives.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
commit6dba7fe33f3f508033d1192ef4dbf98707f24140 (patch)
treed84b5b1ebca79975ae2a30f22c91c7964182c223 /tests/test_alternatives.py
parentAdding debian version 0.1.28. (diff)
downloaddebputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.tar.xz
debputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.zip
Merging upstream version 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"