Skip to content

Commit 685a84f

Browse files
authored
Yeah the test is wrong silly
1 parent f2d147f commit 685a84f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_asn1.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def test_object_identifier(self):
177177
def test_long_object_identifier(self):
178178
enc = asn1.Encoder()
179179
enc.start()
180-
enc.write('2.60.3', asn1.Numbers.ObjectIdentifier)
180+
enc.write('2.1482.3', asn1.Numbers.ObjectIdentifier)
181181
res = enc.output()
182182
assert res == b'\x06\x03\x8c\x1a\x03'
183183
enc.start()
@@ -525,7 +525,7 @@ def test_long_object_identifier(self):
525525
buf = b'\x06\x03\x8c\x1a\x03'
526526
dec.start(buf)
527527
tag, val = dec.read()
528-
assert val == u'2.60.3'
528+
assert val == u'2.1482.3'
529529
buf = b'\x06\x03\x88\x37\x03'
530530
dec.start(buf)
531531
tag, val = dec.read()

0 commit comments

Comments
 (0)