python/tests: add DynamicTestCase setUpDynamicTestCases() infrastructure
commita89a78aa609115a770113d2d23e99ad7e3172b54
authorStefan Metzmacher <metze@samba.org>
Mon, 20 Apr 2020 18:00:51 +0000 (20 20:00 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 27 Oct 2020 08:22:01 +0000 (27 08:22 +0000)
treecba7699c8e91ad97b92e4466445e097a4342c522
parente759ecdae11aff98847236cab46dd26fbb7ba90b
python/tests: add DynamicTestCase setUpDynamicTestCases() infrastructure

This can be used in order to run a sepcific test (coded just once)
with an autogenerated set of arguments.

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

Pair-Programmed-With: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 80347deb544b38be6c6814e5d1b82e48ebe83fd1)
python/samba/tests/__init__.py