mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 22:30:17 +00:00
Test for failure.
This commit is contained in:
parent
f65a9dbfd2
commit
f9cfed5aff
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ def test_update_package_cache_success_no_errors(Pihole):
|
|||
|
||||
def test_update_package_cache_failure_no_errors(Pihole):
|
||||
''' confirms package cache was updated without any errors'''
|
||||
mock_command(apt-get, {'*':('', '1')}, Pihole)
|
||||
mock_command('apt-get', {'*':('', '1')}, Pihole)
|
||||
updateCache = Pihole.run('''
|
||||
source /opt/pihole/basic-install.sh
|
||||
update_package_cache
|
||||
|
|
Loading…
Reference in a new issue