diff --git a/test/test_automated_install.py b/test/test_automated_install.py index 37ebdad2..22d65d48 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -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