mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4:ldb/python: make it possible to run tests standalone
metze
This commit is contained in:
parent
45fc728498
commit
19d93c6a1e
@ -8,6 +8,9 @@ import base64
|
||||
import re
|
||||
|
||||
sys.path.append("bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
import samba.getopt as options
|
||||
|
||||
|
@ -7,7 +7,7 @@ import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit")
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
import samba.getopt as options
|
||||
|
@ -31,6 +31,9 @@ import random
|
||||
import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
from samba.auth import system_session
|
||||
from ldb import SCOPE_BASE, LdbError
|
||||
|
@ -9,6 +9,9 @@ import base64
|
||||
import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
import samba.getopt as options
|
||||
|
||||
|
@ -9,6 +9,9 @@ import random
|
||||
import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
import samba.getopt as options
|
||||
|
||||
|
@ -16,6 +16,9 @@ import base64
|
||||
import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
import samba.getopt as options
|
||||
|
||||
|
@ -9,6 +9,9 @@ import re
|
||||
import random
|
||||
|
||||
sys.path.append("bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
import samba.getopt as options
|
||||
|
||||
|
@ -6,8 +6,9 @@ import sys
|
||||
import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
sys.path.append("../lib/subunit/python")
|
||||
sys.path.append("../lib/testtools")
|
||||
import samba
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
import samba.getopt as options
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user