summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-03-02 05:07:30 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-03-02 05:07:30 +0100
commitcdbc00bb52f39472fe5f1380b15180205644c8e9 (patch)
tree84d8e9ec70dc4200156475e62a654e52947c8018
parent0a3ee53b50a10874b0ee0230b022b4277b5a6d96 (diff)
downloadsamba-cdbc00bb52f39472fe5f1380b15180205644c8e9.tar.gz
samba-cdbc00bb52f39472fe5f1380b15180205644c8e9.tar.bz2
samba-cdbc00bb52f39472fe5f1380b15180205644c8e9.zip
Fix test_surrounding in samba4.rpcecho.python.
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/rpcecho.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/dcerpc/rpcecho.py b/source4/scripting/python/samba/tests/dcerpc/rpcecho.py
index 12638e2397..62268005c2 100644
--- a/source4/scripting/python/samba/tests/dcerpc/rpcecho.py
+++ b/source4/scripting/python/samba/tests/dcerpc/rpcecho.py
@@ -49,7 +49,7 @@ class RpcEchoTests(RpcInterfaceTestCase):
surrounding_struct.x = 4
surrounding_struct.surrounding = [1,2,3,4]
y = self.conn.TestSurrounding(surrounding_struct)
- self.assertEquals(8 * [0], y.surrounding)
+ self.assertEquals(4 * [0], y.surrounding)
def test_manual_request(self):
self.assertEquals("\x01\x00\x00\x00", self.conn.request(0, chr(0) * 4))