summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/messaging.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/samba/tests/messaging.py')
-rw-r--r--source4/scripting/python/samba/tests/messaging.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/tests/messaging.py b/source4/scripting/python/samba/tests/messaging.py
index fd9aa8ef82..3348ff8deb 100644
--- a/source4/scripting/python/samba/tests/messaging.py
+++ b/source4/scripting/python/samba/tests/messaging.py
@@ -21,6 +21,7 @@
from samba.messaging import Messaging
from samba.tests import TestCase
+from samba.dcerpc.server_id import server_id
class MessagingTests(TestCase):
@@ -36,8 +37,7 @@ class MessagingTests(TestCase):
def test_assign_server_id(self):
x = self.get_context()
- self.assertTrue(isinstance(x.server_id, tuple))
- self.assertEquals(3, len(x.server_id))
+ self.assertTrue(isinstance(x.server_id, server_id))
def test_ping_speed(self):
server_ctx = self.get_context((0, 1))