]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
python3-bcrypt: enable build of unit tests
authorFrederic Martinsons <frederic.martinsons@gmail.com>
Thu, 27 Apr 2023 15:12:49 +0000 (17:12 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 May 2023 09:57:35 +0000 (10:57 +0100)
commit7388fec005b94d8e3827afcdf0de1e5b05ea1346
treec77277b710b03198198adab28dcbbdb5990e8954
parentdad9bad239d757ae0b159fe5f1276b6856547b4c
python3-bcrypt: enable build of unit tests

The source code of bcrypt extension doesn't define any tests
but it is to show the ptest-cargo usage

Below is the updated test suite output for the recipe (cut):

PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError]
PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-20-0-ValueError]
PASS: tests/test_bcrypt.py:test_2a_wraparound_bug
============================================================================
Testsuite summary

running 0 tests

test result: ok$<2>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

root@qemux86-64:/usr/lib/python3-bcrypt/ptest#

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-bcrypt_4.0.1.bb