aboutsummaryrefslogtreecommitdiff
path: root/unittest/conftest.py
Commit message (Collapse)AuthorAge
* Add support for multiline C definitions in NK_C_API + testSzczepan Zalega2019-01-15
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'pr_116'v3.4Szczepan Zalega2018-07-07
|\ | | | | | | | | | | Allow to connect to device with model specified by enum. Fixes #116
| * Replace *out function parameter with return valueSzczepan Zalega2018-06-20
| | | | | | | | | | | | | | Using return value instead of memory manipulation seem to be cleaner solution and less error prone due to avoiding pointer usage. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Skip test for devices with firmware lower than v0.9Szczepan Zalega2018-05-24
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Tests: skip reading custom-type based function headerSzczepan Zalega2018-04-10
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow to call CFFI loading function from Python consoleSzczepan Zalega2018-02-23
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Tests: set debug level from environment variable, show connected device ↵Szczepan Zalega2018-02-23
| | | | | | model and version Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Correct getting minor and major from firmware versionSzczepan Zalega2018-02-23
| | | | | | | | | Add get_minor_firmware_version Correct get_major_firmware version (was returning minor instead) Name 3rd version field for test builds Use minor firmware version in tests Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add license / copyright info to Python files with proper commentSzczepan Zalega2018-01-16
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow to use library path in tests from environment variableSzczepan Zalega2017-10-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add DEBUG_L1 level and set it as default for Python testsSzczepan Zalega2017-10-10
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove libnitrokey-log and add a switch to choose version insteadSzczepan Zalega2017-10-04
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Ignore whitespace in C API headerSzczepan Zalega2017-07-03
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Search for Windows DLLsSzczepan Zalega2017-07-03
|
* Prefer to use log-enabled library in testsSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove unnecessary extern keyword from C APISzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow to skip test if device is not able to pass itSzczepan Zalega2016-12-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Tests reorganization (Python)Szczepan Zalega2016-11-26
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>