1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
[tox]
recreate = True
[testenv]
setenv =
PYFUNCEBLE_AUTO_CONFIGURATION = YES
DEBUG_PYFUNCEBLE_ON_SCREEN=yes
PYFUNCEBLE_LOGGING_LVL=critical
PYFUNCEBLE_CONFIG_DIR = {toxinidir}/tests_dir
PYFUNCEBLE_INSTALL_HELPERS = yes
PYTHONIOENCODING = utf-8
passenv = PYFUNCEBLE_*
deps = -rrequirements.txt
changedir = {toxinidir}/tests_dir
commands =
public-suffix-pyfunceble
clean-pyfunceble --all
PyFunceble -v
PyFunceble -t 3 -ex -d github.com --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical
PyFunceble -t 3 -ex -s -f {toxinidir}/examples/lists/simple --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical
PyFunceble -t 3 -ex --syntax -f {toxinidir}/examples/lists/simple --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical
PyFunceble -t 3 -ex -f {toxinidir}/examples/lists/simple --plain --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical
PyFunceble -t 3 -ex -f {toxinidir}/examples/lists/simple --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical # Normally, all inactive are not tested anymore.
PyFunceble -t 3 -ex --inactive-db -f {toxinidir}/examples/lists/simple --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical # And they will be retested.
PyFunceble -t 3 -ex --inactive-db --filter ".info$" -f {toxinidir}/examples/lists/simple --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical # Only .info domains should be tested.
PyFunceble -t 3 -ex --adblock -a -f {toxinidir}/examples/lists/adblock --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical
PyFunceble -t 3 -ex -f https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts --dns 9.9.9.10 149.112.112.10 --dots --database-type mariadb --logging-level critical
python {toxinidir}/examples/api_usage/basic.py
python {toxinidir}/examples/api_usage/basic_syntax.py
python {toxinidir}/examples/api_usage/advanced.py
python {toxinidir}/examples/api_usage/loop.py
python {toxinidir}/examples/api_usage/custom_configuration.py
python {toxinidir}/examples/api_usage/file_generation.py
python {toxinidir}/examples/api_usage/reputation.py
|