ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest rather
[ddiss/samba.git] / source4 / selftest / tests.py
index c36b6e54fdab8d7c5f4e2d1a0e21592dc5281977..f2e7df4ed37afd139c848e514487c5b54f96bc8c 100755 (executable)
@@ -395,7 +395,7 @@ def plansambapythontestsuite(name, env, path, module, environ={}, extra_args=[])
     args += extra_args
     plantestsuite(name, env, args)
 
-plantestsuite_idlist("ldb.python", "none", [subunitrun, '-D', 'lib/ldb/tests/python', "api"])
+planpythontestsuite("api", "none", name="ldb.python", directory='lib/ldb/tests/python')
 planpythontestsuite("none", "samba.tests.credentials")
 plantestsuite_idlist("samba.tests.gensec", "dc:local", [subunitrun, "$LISTOPT", '-U"$USERNAME%$PASSWORD"', "samba.tests.gensec"])
 planpythontestsuite("none", "samba.tests.registry")