Commit Graph

24 Commits (8e6bb152831c291d5d0afb47f3a565bab3a47e7b)

Author SHA1 Message Date
Christian König 8e6bb15283
Remove mocked systemctl completely
1 year ago
Christian König 74b0904af4
Tweak tests to allow systemd as init system
1 year ago
Christian König ea26171c18
Do not require man pages to be present in test script
1 year ago
MichaIng 5c090d25e1
Fix ldd sh mock in tests
2 years ago
a1346054 e5695f862f
test_any_automated_install.py: Use `command -v` instead of `which`
2 years ago
Adam Warner 1b0b0ca445
Update python tests and add black code formatter action (#4926)
2 years ago
Christian König 17ec88d96f
Remove `installed_binary` variable which was leftover from https://github.com/pi-hole/pi-hole/pull/4893
2 years ago
Christian König 0df38cd64e
Format all /test files with black
2 years ago
yubiuser 2ff1fa1b85
Merge branch 'development' into use_utils
2 years ago
Adam Warner 0f74165c9d
Drop Ubuntu 18 tests
2 years ago
Adam Warner 46e1a87e9e
Tweak FTL test to ensure we don't get false positives on incompatible OS (Will remote Ub18 in a separate commit)
2 years ago
Christian König 9b5ea13a33 Use utils.sh in install script
2 years ago
Adam Warner 5421aad03e
Store versions as key/value pairs rather than space delimeted values
2 years ago
Adam Warner 5816f495f4
Fix test_installPiholeWeb_fresh_install_no_errors and test_installPihole_fresh_install_readableBlockpage
2 years ago
Adam Warner 9028898ba7
Move code from `check_epel_repo_required` into the rpm branch of the if check on package_manager_detect(), adjust tests to accommodate
2 years ago
Adam Warner b613758419
rename select_rpm_php and simplify it to remove code no longer needed (discussed internally removing the unsupported dialog here to match behaviour on non rpm distros)
2 years ago
Dan Schaper a650641da4 Change tests to mock dialog
2 years ago
Adam Warner 0be987239e
Adds spellcheck action to the smoke-tests (also moves editorconfig-checker to smoketests away from it's own action)
2 years ago
Christian König 2c07d27ad7 Forgot two places
2 years ago
Christian König 0fa94e0946
Remove unused test which was commented since 5 years by PR 1244
2 years ago
Dan Schaper c19788dd18
Mock `which sh` to reutrn `/bin/sh`.
2 years ago
spmfox 2601162243 Changed ldd binary check from /bin/ls to /usr/bin/bash
2 years ago
Christian König d7d8e9730b Remove pihole-FTL.conf.5 from automated tests
2 years ago
Adam Warner 77e5121d43
Split new function out into a separte utility script and add a test for it. Can be used in future to organise re/commonly-used code
2 years ago