Cleaning¶
Why do we need it?¶
Because we constantly need to clean files which are not needed before starting a new test, we embedded our cleaning logic.
How does it work?¶
Note
Want to read the code ? It’s here Clean()
!
It has an internal map of what has to be deleted and how.
How to clean?¶
For a simple clean, run PyFunceble with the --clean
argument.
For a complete cleaning, run PyFunceble with the --clean-all
argument.
Differences between simple and complete cleaning?¶
The --clean
logic cleans the output/
directory along with the pyfunceble_tested
table
when the mariadb
or mysql
database type are choosen.
The --clean-all
deletes all files generated along with the content of all database tables
when the mariadb
or mysql
database type are choosen.
Warning
--clean-all
does not delete the following files (even if generated by us):
.pyfunceble-env
whois_db.json
Warning
--clean-all
does not delete the content of the following tables:
pyfunceble_whois