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.
For the Ubunut/Debian dependency I added:
BIN_APT = "/usr/bin/apt" isfile( BIN_APT) , "no apt")
# This feature is apt specific and thereby is disabled in environments without
@t_help.skipIf(not os.path.
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.