From f9cfed5aff68a53a062c225720bc3534d813d0f5 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 28 Jan 2017 15:56:43 -0800 Subject: [PATCH] Test for failure. --- 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 7096ad91..4ab6e3a3 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -285,7 +285,7 @@ def test_update_package_cache_success_no_errors(Pihole): def test_update_package_cache_failure_no_errors(Pihole): ''' confirms package cache was updated without any errors''' - mock_command(apt-get, {'*':('', '1')}, Pihole) + mock_command('apt-get', {'*':('', '1')}, Pihole) updateCache = Pihole.run(''' source /opt/pihole/basic-install.sh update_package_cache