diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-04-10 09:30:32 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-04-10 09:30:32 +0200 |
commit | 53599e95a5f0f1d9fed18c9b4418e6f506f5a973 (patch) | |
tree | adc4d6462ff37c1f2ebe89861fc3f02725ef98ca /unittest/conftest.py | |
parent | 7c50b1a7f3802178395ba3b378bb6270654c6e67 (diff) | |
download | libnitrokey-53599e95a5f0f1d9fed18c9b4418e6f506f5a973.tar.gz libnitrokey-53599e95a5f0f1d9fed18c9b4418e6f506f5a973.tar.bz2 |
Tests: skip reading custom-type based function header
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/conftest.py')
-rw-r--r-- | unittest/conftest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/conftest.py b/unittest/conftest.py index 49f1502..9af67ac 100644 --- a/unittest/conftest.py +++ b/unittest/conftest.py @@ -44,6 +44,7 @@ def C(request=None): cnt = 0 a = iter(declarations) for declaration in a: + if 'NK_device_model' in declaration: continue if declaration.strip().startswith('NK_C_API'): declaration = declaration.replace('NK_C_API', '').strip() while ';' not in declaration: |