aboutsummaryrefslogtreecommitdiff
path: root/tests/type/test_univ.py
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-08-26 21:01:32 +0200
committerIlya Etingof <etingof@gmail.com>2017-08-26 21:01:32 +0200
commitbaf22c68442dcec087bfaa4763650647be65d622 (patch)
treed14863be1d86507c9ab53b78171680407b54ab6f /tests/type/test_univ.py
parent7ab0b2ae47f22c4b115f8321d388e4c83f8e2d37 (diff)
downloadpyasn1-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.py4
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