From 08a93806da6180669215dd0ea2b0f83b78e943bf Mon Sep 17 00:00:00 2001 From: Stanislaw Adaszewski Date: Mon, 25 May 2020 15:10:59 +0200 Subject: [PATCH] Small fix --- tests/test_bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_bootstrap.py b/tests/test_bootstrap.py index dbe33b0..a3017b4 100644 --- a/tests/test_bootstrap.py +++ b/tests/test_bootstrap.py @@ -5,8 +5,8 @@ import os def test_bootstrap(): - subprocess.run(['focker', 'image', 'remove', '--force', 'test-focker-bootstrap']) - subprocess.run(['focker', 'bootstrap', '--dry-run', '--tags', 'test-focker-bootstrap']) + subprocess.check_output(['focker', 'image', 'remove', '--force', 'test-focker-bootstrap']) + subprocess.check_output(['focker', 'bootstrap', '--dry-run', '--tags', 'test-focker-bootstrap']) name, sha256 = zfs_find('test-focker-bootstrap', focker_type='image') basename = os.path.basename(name) assert len(basename) >= 7