Browse Source

add a long string for testing..

[git-p4: depot-paths = "//depot/python/pypasn1/main/": change = 1820]
python2
John-Mark Gurney 8 years ago
parent
commit
b2cf3ef9bf
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pasn1.py

+ 1
- 0
pasn1.py View File

@@ -333,6 +333,7 @@ class TestCode(unittest.TestCase):
for s, v in [ ('\x02\x03$\x8a\xf9', 2394873),
('\x05\x00', None),
('\x02\x03\x00\x96I', 38473),
('\x04\x81\xc8' + '\x00' * 200, '\x00' * 200),
]:
self.assertEqual(loads(s), v)



Loading…
Cancel
Save