Initially obtain from GNUK repository.
tests lay here
Here is a test suite for OpenPGP card.
For now, only TPDU card reader is supported for OpenPGP card. Gnuk Token is supported as well.
You need to install:
$ sudo apt install python3-pytest python3-usb python3-cffi
and install crypto library
python -m pip install pycryptodome
Please run test by typing:
`$ py.test-3 -x`
Or with verbose
`$ py.test-3 -x -vv`
or
`$ py.test-3 -x v`