mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Adjust tests
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
a9b9718ffa
commit
9dbcbdbe66
1 changed files with 4 additions and 5 deletions
|
@ -421,10 +421,9 @@ def test_IPv6_only_link_local(Pihole):
|
||||||
)
|
)
|
||||||
detectPlatform = Pihole.run('''
|
detectPlatform = Pihole.run('''
|
||||||
source /opt/pihole/basic-install.sh
|
source /opt/pihole/basic-install.sh
|
||||||
useIPv6dialog
|
find_IPv6_information
|
||||||
''')
|
''')
|
||||||
expected_stdout = ('Unable to find IPv6 ULA/GUA address, '
|
expected_stdout = ('Unable to find IPv6 ULA/GUA address')
|
||||||
'IPv6 adblocking will not be enabled')
|
|
||||||
assert expected_stdout in detectPlatform.stdout
|
assert expected_stdout in detectPlatform.stdout
|
||||||
|
|
||||||
|
|
||||||
|
@ -468,9 +467,9 @@ def test_IPv6_only_GUA(Pihole):
|
||||||
)
|
)
|
||||||
detectPlatform = Pihole.run('''
|
detectPlatform = Pihole.run('''
|
||||||
source /opt/pihole/basic-install.sh
|
source /opt/pihole/basic-install.sh
|
||||||
useIPv6dialog
|
find_IPv6_information
|
||||||
''')
|
''')
|
||||||
expected_stdout = 'Found IPv6 GUA address, using it for blocking IPv6 ads'
|
expected_stdout = 'Found IPv6 GUA address'
|
||||||
assert expected_stdout in detectPlatform.stdout
|
assert expected_stdout in detectPlatform.stdout
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue