Re-add some tests which do work with both implementations
authorMartin Pool <mbp@samba.org>
Mon, 4 Nov 2002 22:50:24 +0000 (22:50 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 4 Nov 2002 22:50:24 +0000 (22:50 +0000)
(This used to be commit a9c2817c79f675b82ace4e21df7fa123f9a995c3)

source3/python/examples/tdbpack/test_tdbpack.py

index a141a505ab56b83f280c37f34b7a8c8a78090e84..4cd425202154bae0ef7aa6b6a81e58c310e70aa2 100755 (executable)
@@ -31,12 +31,12 @@ class PackTests(unittest.TestCase):
              ('w', [0], '\0\0'),
              ('w', [255], '\xff\0'),
              ('w', [256], '\0\x01'),
-             ('w', [0xdead], '\xad\xde'),
-             ('w', [0xffff], '\xff\xff'),
-             ('p', [0], '\0\0\0\0'),
-             ('p', [1], '\x01\0\0\0'),
-             ('d', [0x01020304], '\x04\x03\x02\x01'),
-             ('d', [0x7fffffff], '\xff\xff\xff\x7f'),
+             ('w', [0xdead], '\xad\xde'),
+             ('w', [0xffff], '\xff\xff'),
+             ('p', [0], '\0\0\0\0'),
+             ('p', [1], '\x01\0\0\0'),
+             ('d', [0x01020304], '\x04\x03\x02\x01'),
+             ('d', [0x7fffffff], '\xff\xff\xff\x7f'),
 #              ('d', [0x80000000], '\x00\x00\x00\x80'),
 #              ('d', [-1], '\xff\xff\xff\xff'),
 #              ('d', [-255], '\x01\xff\xff\xff'),