Commit Graph

96 Commits (469b71544262f8473cc1e22142ee01a4016785fc)

Author SHA1 Message Date
Adam Warner 469b715442
Add three new tests (one for each dependecy array) to check packages are available in supported OS package repos
3 years ago
DL6ER 74948ae5c1
The correct port separator is '#' not ':' in dnsmasq style. This should not have been changed in #4083 in the first place.
3 years ago
jbzdarkid 8090071eff Update regex to disallow leading zeros
3 years ago
Joseph Blackman 89c80947df Improve regexes for ipv4 matching
3 years ago
Adam Warner fb454ebe14
fix stickler complaints
4 years ago
Adam Warner ee556088b5
Fake OS details in /etc/os-release and confirm install fails
4 years ago
bcambl a7c58e7112
E302 expected 2 blank lines, found 1
4 years ago
Adam Warner 5aab68ab41
Update test/test_automated_install.py
4 years ago
Adam Warner c9edcfa335
add test to check "os_check" works
4 years ago
DL6ER 01c9bbd3ca
Improve processor detection to use the new dedicated ARMv4T, ARMv5TE and ARMv8-A binaries we provide for FTL.
4 years ago
Adam Warner 9e96ff37de
Fix merge conflicts
4 years ago
Adam Warner a37dba2c81
remove configureFirewall function, the call to it, and related tests
4 years ago
pvogt09 25c5661c1b fix stickler errors
4 years ago
pvogt09 a993b8b34d fixes #3217 by checking for existing pihole group
4 years ago
XhmikosR 7b8611ced0
Assorted typo fixes. (#3126)
4 years ago
jnozsc 4a711340ef
use py3 instead py2 (#3153)
4 years ago
Adam Warner 12817c09bb
(Squashed commits)
5 years ago
bcambl cd9b1fcb8c update tests for SELinux changes
5 years ago
Adam Warner 9a6deb5a1a
Fix tests
5 years ago
Mcat12 1d5755a4c2
Add tests for valid_ip
5 years ago
bcambl 218476fab0 ensure installation dependencies for FTL tests which rely on /etc/init.d
5 years ago
pvogt09 efbd42f7b5 Moves creation of pihole user before FTL installation
5 years ago
DL6ER 7479485d45
Add test for the case the binary variable is unset (defaults to "tbd" in this case)
5 years ago
DL6ER d26f2dcb2c
Use global binary variable in tests for automated install
5 years ago
Mcat12 c22e94c9c7
Update test to include empty FTL config
6 years ago
DL6ER f5c3dc5d9d
Improve download error message that is shown when downloading or verifying the binary failed
6 years ago
Adam Hill 8ca4c66e3c
make smarter assertions rathe than `largestring not in string`
6 years ago
bcambl fff31558a0 assert REMI repository is not installed for Fedora
6 years ago
bcambl 09d40679c0 add test for unsupported distro checking
6 years ago
bcambl 5ca2ad6148 move test globals & mock commands to conftest
6 years ago
bcambl 40537e1522 python linting: missing whitespace after ',' (E231)
6 years ago
bcambl 064a75b21b python linting: missing whitespace around operator (E225)
6 years ago
bcambl 79232d02c9 python linting: 'pytest' imported but unused (F401)
6 years ago
bcambl 9bd4986781 python linting: whitespace before ':' (E203)
6 years ago
bcambl c3d443aaff python linting: lines > 79 characters (E501)
6 years ago
bcambl da3dfd0998 python linting: missing whitespace after ':' (E231)
6 years ago
bcambl 4468d81472 python linting: 2 lines prior to defs (E302)
6 years ago
bcambl 9d3d33b6a2 add tests for selinux checking
6 years ago
Adam Warner 8cf8da4c78
- Check file /etc/pihole/ftlbranch for current FTL branch, download from github if master, or pi-hole.net if other
6 years ago
WaLLy3K 26afe04926 Remove index.js test
7 years ago
Adam Warner 42b5574f9b
remove no longer needed tests
7 years ago
WaLLy3K fdf2649f2f Clean up known remaining colour output issues (#1613)
7 years ago
Mcat12 b09c660833 Always process DNS and DHCP settings in installer (#1630)
7 years ago
Adam Warner bf70c2c660
initial changes to tests to take into account changes to strings
7 years ago
Adam Warner 536585b846 Colourise Core Output Text (#1471)
7 years ago
DL6ER 939055f19c Revert "Add FTL tests to the test suite (#1510)" (#1519)
7 years ago
DL6ER cf6a1ac9ad Add FTL tests to the test suite (#1510)
7 years ago
DL6ER 01e091fd17 Prefer ULA over GUA addresses [IPv6] (#1508)
7 years ago
georou 6c56665403 updated travis for new firewalld add service
7 years ago
Dan Schaper dcb9797f35
Tests changed to reflect `uname` calls.
7 years ago