move PH_TRUE to Dockerfiles to DRY

This commit is contained in:
diginc 2016-11-03 22:34:04 -05:00
parent c2930b0ca5
commit b9f3493dbc
4 changed files with 5 additions and 4 deletions

View file

@ -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
''')