diff options
author | Ilya Etingof <etingof@gmail.com> | 2017-08-26 21:01:32 +0200 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2017-08-26 21:01:32 +0200 |
commit | baf22c68442dcec087bfaa4763650647be65d622 (patch) | |
tree | d14863be1d86507c9ab53b78171680407b54ab6f /tests/type/test_univ.py | |
parent | 7ab0b2ae47f22c4b115f8321d388e4c83f8e2d37 (diff) | |
download | pyasn1-baf22c68442dcec087bfaa4763650647be65d622.tar.gz |
SET/SEQUENCE BER decoder simplified and optimised
Diffstat (limited to 'tests/type/test_univ.py')
-rw-r--r-- | tests/type/test_univ.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/type/test_univ.py b/tests/type/test_univ.py index 48c9271..7d843a9 100644 --- a/tests/type/test_univ.py +++ b/tests/type/test_univ.py @@ -988,11 +988,11 @@ class Sequence(unittest.TestCase): assert '<missing>' not in self.s1 def testGetNearPosition(self): - assert self.s1.getComponentTagMapNearPosition(1).presentTypes == { + assert self.s1.componentType.getTagMapNearPosition(1).presentTypes == { univ.OctetString.tagSet: univ.OctetString(''), univ.Integer.tagSet: univ.Integer(34) } - assert self.s1.getComponentPositionNearType( + assert self.s1.componentType.getPositionNearType( univ.OctetString.tagSet, 1 ) == 1 |