1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00
pi-hole/test
Adam Hill 8ca4c66e3c
make smarter assertions rathe than largestring not in string
Signed-off-by: Adam Hill <adam@diginc.us>
2018-07-12 00:03:25 -05:00
..
__init__.py setupVar tests passing for debian & centos 2016-10-10 23:14:39 -05:00
centos.Dockerfile move PH_TRUE to Dockerfiles to DRY 2016-11-03 22:34:04 -05:00
conftest.py add Fedora container to test matrix 2018-07-05 18:12:39 -06:00
debian.Dockerfile Debian buildpack image for docker (Need curl for testing, using scm version to add curl and git.) 2017-02-20 09:24:47 -08:00
fedora.Dockerfile add Fedora container to test matrix 2018-07-05 18:12:39 -06:00
README.md reduce the amount of strict not in checks 2018-07-11 23:25:16 -05:00
test_000_build_containers.py ensure images are build prior to running tests 2018-07-07 18:43:11 -06:00
test_automated_install.py make smarter assertions rathe than largestring not in string 2018-07-12 00:03:25 -05:00
test_centos_fedora_support.py make smarter assertions rathe than largestring not in string 2018-07-12 00:03:25 -05:00
test_shellcheck.py python linting: 'pytest' imported but unused (F401) 2018-07-03 00:30:00 -06:00

How do I test?

Make sure you have Docker and Python w/pip package manager.

From command line all you need to do is:

  • pip install tox
  • tox

How do I debug python?

Highly recommended: Setup PyCharm on a Docker enabled machine. Having a python debugger like PyCharm changes your life if you've never used it :)