Commit 6a3f0112 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add test case

parent 4a15eded
#!/usr/bin/env python
import sys
sys.path.insert(0, '../..')
from asn1_value_editor import standalone_editor as editor
editor.logger.setLevel(editor.logging.DEBUG)
def test_1():
''' Test with a single boolean type '''
s = editor.SingleValueEditor('data/dv2.asn',
paramsAndTypes={'param': 'Ahah'})
assert s is not None
def test_2():
''' Test '''
assert True
if __name__ == '__main__':
for name, value in dict(globals()).viewitems():
if name.startswith('test_'):
print('---- Executing {} ----'.format(name))
value()
print('---- Done - {} ----\n'.format(name))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment