aboutsummaryrefslogtreecommitdiff
path: root/tests/codec/ber/test_decoder.py
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-02-26 20:43:24 +0100
committerIlya Etingof <etingof@gmail.com>2017-02-26 20:43:24 +0100
commitff4b375fc6598e36aaef255f550bdaf2f4080dc5 (patch)
treebea73a67ec6c6948888c7122bd443b6eb825e005 /tests/codec/ber/test_decoder.py
parent297ec1962c77cde410478f6428aa8a0eb4237321 (diff)
downloadpyasn1-ff4b375fc6598e36aaef255f550bdaf2f4080dc5.tar.gz
BER/CER/DER value encoders refactored to produce either tuple of bytes or octetstream depending on what is more optimal
Diffstat (limited to 'tests/codec/ber/test_decoder.py')
-rw-r--r--tests/codec/ber/test_decoder.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/codec/ber/test_decoder.py b/tests/codec/ber/test_decoder.py
index c1852c4..5bba716 100644
--- a/tests/codec/ber/test_decoder.py
+++ b/tests/codec/ber/test_decoder.py
@@ -16,16 +16,6 @@ from pyasn1.compat.octets import ints2octs, str2octs, null
from pyasn1.error import PyAsn1Error
-class BadAsn1SpecTestCase(unittest.TestCase):
- def testBadSpec(self):
- try:
- decoder.decode(ints2octs((48, 2, 5, 0)), asn1Spec='not an Asn1Item')
- except PyAsn1Error:
- pass
- else:
- assert 0, 'Invalid asn1Spec accepted'
-
-
class LargeTagDecoderTestCase(unittest.TestCase):
def testLargeTag(self):
assert decoder.decode(ints2octs((127, 141, 245, 182, 253, 47, 3, 2, 1, 1))) == (1, null)