selftest: Split samba.tests.samba_tool.user_virtualCryptSHA into GPG and not GPG...
authorAndrew Bartlett <abartlet@samba.org>
Wed, 1 Jul 2020 02:30:24 +0000 (14:30 +1200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 6 Jul 2020 13:57:24 +0000 (13:57 +0000)
commitf8d033dde4387ea2b4fc8bd83cc20ea28d80f2bf
tree77a640fa1757fc58b7eeb018309070ad4358d7c6
parente52f51990912e08b4c25f53ceeab54e6220ac613
selftest: Split samba.tests.samba_tool.user_virtualCryptSHA into GPG and not GPG parts

This allows the userPassword (not GPG) part of the test to run on hosts without
python3-gpg (eg RHEL7) while still testing the userPassword handling.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14424

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 2c4ecf002a3fbbe8be061814468529c8bd6bb7aa)
python/samba/tests/samba_tool/user_virtualCryptSHA_base.py [new file with mode: 0644]
python/samba/tests/samba_tool/user_virtualCryptSHA_gpg.py [new file with mode: 0644]
python/samba/tests/samba_tool/user_virtualCryptSHA_userPassword.py [new file with mode: 0644]
source4/selftest/tests.py