mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-19 05:40:13 +00:00
move PH_TRUE to Dockerfiles to DRY
This commit is contained in:
parent
c2930b0ca5
commit
b9f3493dbc
4 changed files with 5 additions and 4 deletions
|
@ -53,7 +53,6 @@ def test_setupVars_saved_to_file(Pihole):
|
|||
set -e
|
||||
echo start
|
||||
TERM=xterm
|
||||
PHTEST=TRUE
|
||||
source /opt/pihole/basic-install.sh
|
||||
{}
|
||||
finalExports
|
||||
|
@ -69,7 +68,6 @@ def test_configureFirewall_firewalld_no_errors(Pihole):
|
|||
''' confirms firewalld rules are applied when appopriate '''
|
||||
mock_command('firewall-cmd', '0', Pihole)
|
||||
configureFirewall = Pihole.run('''
|
||||
PHTEST=TRUE
|
||||
source /opt/pihole/basic-install.sh
|
||||
configureFirewall
|
||||
''')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue