Comment 5 for bug 1589174

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

For the Ubunut/Debian dependency I added:

BIN_APT = "/usr/bin/apt"
# This feature is apt specific and thereby is disabled in environments without
@t_help.skipIf(not os.path.isfile(BIN_APT), "no apt")

On both classes.
If we ever add isolated tests for the gpg portion that will be distribution neutral, but the skipIf as written will prevent that non Ubunut/Debian reuse will run into issues due to the unittests.