-
Notifications
You must be signed in to change notification settings - Fork 1
Unit tests
João Almeida edited this page Jan 2, 2023
·
3 revisions
This repository contains unit tests for the main.py
.
To run the tests, use the following command:
$ cd src/
$ python unit_tests.py
The tests will automatically be run when you run the tool.
The following methods are tested:
generate_random_password
encrypt_password
encrypt_secure_fasta
decrypt_secure_fasta
generate_checksum
The unit tests depend on the following packages:
-
unittest
(included in the Python standard library) -
Cryptodome
(https://pypi.org/project/pycryptodome/)