selftest: Allow passing arbitrary number of additional python path values.
[mat/samba.git] / source4 / selftest / tests.py
index f2e7df4ed37afd139c848e514487c5b54f96bc8c..d25f0ddca827ac480a1a1f498c855c4d8d93b90a 100755 (executable)
@@ -395,7 +395,7 @@ def plansambapythontestsuite(name, env, path, module, environ={}, extra_args=[])
     args += extra_args
     plantestsuite(name, env, args)
 
-planpythontestsuite("api", "none", name="ldb.python", directory='lib/ldb/tests/python')
+planpythontestsuite("api", "none", name="ldb.python", extra_path=['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")