diff options
Diffstat (limited to 'tests/test_alternatives.py')
-rw-r--r-- | tests/test_alternatives.py | 2 |
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" |