1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

selftest: Fix run for systems without testtools installed.

This commit is contained in:
Jelmer Vernooij
2010-09-21 21:33:30 -07:00
parent 7c1b00f4a8
commit 118c6548bb
3 changed files with 2 additions and 3 deletions

View File

@ -110,8 +110,6 @@ static PyObject *py_set_debug_level(PyObject *self, PyObject *args)
Py_RETURN_NONE;
}
/*
return the list of interface IPs we have configured
takes an loadparm context, returns a list of IPs in string form

View File

@ -52,6 +52,7 @@ class Ldb(_Ldb):
not necessarily the Sam database. For Sam-specific helper
functions see samdb.py.
"""
def __init__(self, url=None, lp=None, modules_dir=None, session_info=None,
credentials=None, flags=0, options=None):
"""Opens a Samba Ldb file.

View File

@ -104,7 +104,7 @@ planpythontestsuite() {
env=$2
module="$3"
shift 3
plantestsuite_idlist "$name" "$env" python -m subunit.run $module
plantestsuite_idlist "$name" "$env" PYTHONPATH=$samba4srcdir/../lib/subunit/python:$samba4srcdir/../lib/testtools $PYTHON -m subunit.run $module
}
plansmbtorturetestsuite() {