1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

Use RpcInterfaceTestCase everywhere.

(This used to be commit 799095b4e5)
This commit is contained in:
Jelmer Vernooij
2008-04-14 23:28:14 +02:00
parent 9b50347076
commit 1b5f32128d
6 changed files with 14 additions and 17 deletions

View File

@ -18,12 +18,11 @@
#
import unixinfo
import unittest
from samba.tests import get_loadparm
from samba.tests import RpcInterfaceTestCase
class UnixinfoTests(unittest.TestCase):
class UnixinfoTests(RpcInterfaceTestCase):
def setUp(self):
self.conn = unixinfo.unixinfo("ncalrpc:", get_loadparm())
self.conn = unixinfo.unixinfo("ncalrpc:", self.get_loadparm())
def test_getpwuid(self):
infos = self.conn.GetPWUid(range(512))