mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-22 07:10:19 +00:00
Replace apt-get with apt in test suite
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
aed343a2c9
commit
59ca3fcf38
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def test_update_package_cache_failure_no_errors(Pihole):
|
|||
'''
|
||||
confirms package cache was not updated
|
||||
'''
|
||||
mock_command('apt-get', {'update': ('', '1')}, Pihole)
|
||||
mock_command('apt', {'update': ('', '1')}, Pihole)
|
||||
updateCache = Pihole.run('''
|
||||
source /opt/pihole/basic-install.sh
|
||||
package_manager_detect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue