mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-24 04:18:43 +00:00
fix debian test_pihole_start_cmd
This commit is contained in:
@@ -276,7 +276,7 @@ test_framework_stubbing() {
|
||||
if [ -n "$PYTEST" ] ; then
|
||||
echo ":::::: Tests are being ran - stub out ad list fetching and add a fake ad block"
|
||||
sed -i 's/^gravity_spinup$/#gravity_spinup # DISABLED FOR PYTEST/g' "$(which gravity.sh)"
|
||||
echo 'testblock.pi-hole.local' >> /etc/pihole/blacklist.txt
|
||||
echo 'testblock.pi-hole.local' >> /etc/pihole/black.list
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user