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

selftest: enable py3 for samba.tests.hostconfig

Fix relative import.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Joe Guo 2018-04-03 15:24:28 +12:00 committed by Andrew Bartlett
parent 0ebf52744c
commit 68d89b0a19
2 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@
#
"""Local host configuration."""
from samdb import SamDB
from __future__ import absolute_import
from .samdb import SamDB
class Hostconfig(object):
"""Aggregate object that contains all information about the configuration

View File

@ -72,7 +72,7 @@ planpythontestsuite("none", "samba.tests.netcmd")
planpythontestsuite("none", "samba.tests.dcerpc.rpc_talloc", py3_compatible=True)
planpythontestsuite("none", "samba.tests.dcerpc.array", py3_compatible=True)
planpythontestsuite("none", "samba.tests.dcerpc.string", py3_compatible=True)
planpythontestsuite("none", "samba.tests.hostconfig")
planpythontestsuite("none", "samba.tests.hostconfig", py3_compatible=True)
planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.messaging",
py3_compatible=True)
planpythontestsuite("none", "samba.tests.s3param", py3_compatible=True)