mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
Add convenience functions for setting Python objects from errors.
(This used to be commit f1de723b89
)
This commit is contained in:
@ -42,6 +42,11 @@ class RpcEchoTests(RpcInterfaceTestCase):
|
||||
y = self.conn.TestSurrounding(surrounding_struct)
|
||||
self.assertEquals(8 * [0], y.surrounding)
|
||||
|
||||
def test_manual_request(self):
|
||||
self.assertEquals("\x01\x00\x00\x00", self.conn.request(0, chr(0) * 4))
|
||||
|
||||
def test_server_name(self):
|
||||
self.assertEquals(None, self.conn.server_name)
|
||||
|
||||
class NdrEchoTests(unittest.TestCase):
|
||||
def test_info1_push(self):
|
||||
|
Reference in New Issue
Block a user