summaryrefslogtreecommitdiff
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2020-02-13 11:35:25 +0000
committerJonathan Cave <jonathan.cave@canonical.com>2020-02-13 11:35:25 +0000
commit3dd58a0cdffd3061451b5fbcb240998b5a4348e8 (patch)
tree4534b413170acda83f3fcc0762e6fa2e525282f9
parentc17f3b50a78d72cb632f0327d8395b4d1fafaf21 (diff)
snap_tests.py: add verbose output on install tests
The snapd class now supports print task information during async operations. Enable this for just install tests.
-rwxr-xr-xbin/snap_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/snap_tests.py b/bin/snap_tests.py
index 914afab..fe80288 100755
--- a/bin/snap_tests.py
+++ b/bin/snap_tests.py
@@ -69,7 +69,7 @@ class SnapInstall():
parser.add_argument('channel', help='channel to install from')
args = parser.parse_args(sys.argv[2:])
print('Install {}...'.format(TEST_SNAP))
- s = Snapd(SNAPD_TASK_TIMEOUT, SNAPD_POLL_INTERVAL)
+ s = Snapd(SNAPD_TASK_TIMEOUT, SNAPD_POLL_INTERVAL, verbose=True)
s.install(TEST_SNAP, args.channel)
print('Confirm in snap list...')
data = s.list()