1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 14:18:15 +00:00

Start test templates.

This commit is contained in:
Dan Schaper 2017-01-28 15:45:25 -08:00
parent 297d4eec57
commit 153a9d8ac7
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

View File

@ -277,7 +277,7 @@ def test_installPiholeWeb_already_populated_no_errors(Pihole):
def test_update_package_cache_success_no_errors(Pihole): def test_update_package_cache_success_no_errors(Pihole):
''' confirms package cache was updated without any errors''' ''' confirms package cache was updated without any errors'''
updateCache = Pihole.run(''' updateCache = Pihole.run('''
source /opt/pihole/basick-install.sh source /opt/pihole/basic-install.sh
update_pacakge_cache update_pacakge_cache
''') ''')
assert 'Updating local cache of available packages...' in updateCache.stdout assert 'Updating local cache of available packages...' in updateCache.stdout