mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-30 20:20:17 +00:00
Re-add apt-get to tests
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
59ca3fcf38
commit
d9f8d9abb1
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ def test_update_package_cache_failure_no_errors(Pihole):
|
|||
confirms package cache was not updated
|
||||
'''
|
||||
mock_command('apt', {'update': ('', '1')}, Pihole)
|
||||
mock_command('apt-get', {'update': ('', '1')}, Pihole)
|
||||
updateCache = Pihole.run('''
|
||||
source /opt/pihole/basic-install.sh
|
||||
package_manager_detect
|
||||
|
|
Loading…
Add table
Reference in a new issue