Add test suite to setup.py

This commit is contained in:
Dan 2019-06-13 16:40:23 +02:00
parent f07c2ea4ab
commit 780f78c840
2 changed files with 2 additions and 4 deletions

View File

@ -153,12 +153,9 @@ print(data == cbc_decrypted) # True
## Testing
1. Install the package: `pip3 install -U tgcrypto`.
2. Clone this repository: `git clone https://github.com/pyrogram/tgcrypto`.
3. Enter the directory: `cd tgcrypto`.
4. Run tests: `python3 -m unittest`.
**Note**: I haven't found any public test vectors for AES256-IGE, yet.
4. Run tests: `python3 setup.py test`.
## License

View File

@ -65,6 +65,7 @@ setup(
},
python_requires="~=3.4",
packages=find_packages(),
test_suite="tests",
zip_safe=False,
ext_modules=[
Extension(