Skip to content

Commit 9093d38

Browse files
committed
fix test and bump minor again
1 parent 1c3fad2 commit 9093d38

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from setuptools import setup, find_packages
66

77
# Pycrate Version
8-
VERSION = "0.7.6"
8+
VERSION = "0.7.7"
99

1010

1111
# get long description from the README.md

test/test_asn1rt.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2489,6 +2489,8 @@ def _test_tcap_map():
24892489
def _test_tcap_map_rt():
24902490
# use a specific TCAP-MAP buffer for testing some more ASN.1 runtime features
24912491
# take care to not test for too-TCAP-MAP features, that could change in future versions
2492+
2493+
from pycrate_asn1dir import TCAP_MAP
24922494
#
24932495
M = GLOBAL.MOD['TCAP-MAP-Messages']['TCAP-MAP-Message']
24942496
p = pkts_tcap_map[1]
@@ -2497,11 +2499,9 @@ def _test_tcap_map_rt():
24972499
assert( M.get_internals()['root'] == ['unidirectional', 'begin', 'end', 'continue', 'abort'] )
24982500
assert( M.get_typeref() == M._tr == GLOBAL.MOD['TCAPMessages']['TCMessage'] )
24992501
#
2500-
prot = M.get_proto(w_open=True, w_opt=True, w_enum=True, print_recurs=False, blacklist=set())
2502+
prot = M.get_proto(w_opt=True, w_enum=True)
25012503
assert( len(prot[1]) == 5 and len(prot[1]['begin'][1]) == 3 )
2502-
comp = M.get_complexity(w_open=False, w_opt=False, print_recurs=False, blacklist=set())
2503-
assert( comp == (23, 7, []) )
2504-
comp = M.get_complexity(w_open=True, w_opt=True, print_recurs=False, blacklist=set())
2504+
comp = M.get_complexity()
25052505
assert( comp[0] >= 20156 and comp[1] >= 19 and len(comp[2]) >= 20 )
25062506
#
25072507
M.convert_named_val()

0 commit comments

Comments
 (0)