diff options
author | Michael Adam <obnox@samba.org> | 2015-03-16 17:22:01 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-03-16 20:25:33 +0100 |
commit | 3d1e4a90d0a890a20fea6b39ae96e6a7e34d4b79 (patch) | |
tree | 8d7e83edd322a997ec9606edef65a32fa1564d80 /source4/dsdb | |
parent | 0de85d6eb466458886764acb3245e7241b45d189 (diff) | |
download | samba-3d1e4a90d0a890a20fea6b39ae96e6a7e34d4b79.tar.gz |
dsdb: fix the user_account_control test.
On my system (Fedora 21) the test fails with:
[1(0)/1 at 0s] samba4.user_account_control.python(dc)
teardown_env(dc)
Traceback (most recent call last):
File "/home/obnox/devel/samba/master-push.git/source4/dsdb/tests/python/user_account_control.py", line 23, in <module>
from subunit.run import SubunitTestRunner
ImportError: No module named subunit.run
This fixes it for me.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Mar 16 20:25:33 CET 2015 on sn-devel-104
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/tests/python/user_account_control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/user_account_control.py b/source4/dsdb/tests/python/user_account_control.py index 61c208bdec8..16c7f81d477 100644 --- a/source4/dsdb/tests/python/user_account_control.py +++ b/source4/dsdb/tests/python/user_account_control.py @@ -20,7 +20,7 @@ import base64 sys.path.insert(0, "bin/python") from samba.tests.subunitrun import TestProgram, SubunitOptions -from subunit.run import SubunitTestRunner +from samba.subunit.run import SubunitTestRunner from samba.auth import system_session from samba.samdb import SamDB from samba.dcerpc import samr, security, lsa |