1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00
This commit is contained in:
Jelmer Vernooij
2009-09-23 19:52:45 +02:00
parent 5cf25fd225
commit 0450a5bf90
6 changed files with 6 additions and 3 deletions

View File

@ -24,6 +24,7 @@ from samba.tests import cmdline_loadparm
class BareTestCase(TestCase):
def test_bare(self):
# Connect to the echo pipe
x = ClientConnection("ncalrpc:localhost[DEFAULT]",

View File

@ -43,8 +43,6 @@ class GUIDTests(unittest.TestCase):
guid2 = misc.GUID(text1)
self.assertEquals(0, cmp(guid1, guid2))
self.assertEquals(guid1, guid2)
class PolicyHandleTests(unittest.TestCase):

View File

@ -18,11 +18,11 @@
#
from samba.dcerpc import winreg
import unittest
from samba.tests import RpcInterfaceTestCase
class WinregTests(RpcInterfaceTestCase):
def setUp(self):
self.conn = winreg.winreg("ncalrpc:", self.get_loadparm(),
self.get_credentials())

View File

@ -24,6 +24,7 @@ from samba.tests import RpcInterfaceTestCase
class RpcEchoTests(RpcInterfaceTestCase):
def setUp(self):
self.conn = echo.rpcecho("ncalrpc:", self.get_loadparm())
@ -59,6 +60,7 @@ class RpcEchoTests(RpcInterfaceTestCase):
class NdrEchoTests(unittest.TestCase):
def test_info1_push(self):
x = echo.info1()
x.v = 42

View File

@ -30,6 +30,7 @@ def toArray((handle, array, num_entries)):
class SamrTests(RpcInterfaceTestCase):
def setUp(self):
self.conn = samr.samr("ncalrpc:", self.get_loadparm())

View File

@ -21,6 +21,7 @@ from samba.dcerpc import unixinfo
from samba.tests import RpcInterfaceTestCase
class UnixinfoTests(RpcInterfaceTestCase):
def setUp(self):
self.conn = unixinfo.unixinfo("ncalrpc:", self.get_loadparm())