Re-add apt-get to tests

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2021-11-04 06:49:22 +01:00
parent 59ca3fcf38
commit d9f8d9abb1
No known key found for this signature in database
GPG key ID: 4CDA6F249DD2B485

View file

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