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
commit43d2975874957aee947093ec0cff0acbe571a7cb (patch)
treeb48a9dcdc67fcff68bc5f09493c36c5707bab26c
parent92d9255c5cb25744776f88fd748235b1e4009e01 (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 914afab7..fe80288e 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()