From 59ca3fcf3856f5aea393564852d0f2429a3e0da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Wed, 3 Nov 2021 22:12:53 +0100 Subject: [PATCH] Replace apt-get with apt in test suite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- test/test_automated_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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