Commit a9a81c85 authored by Jérome Perrin's avatar Jérome Perrin

nextcloud/test: more output on subprocess errors WIP

parent fcd3ca68
Pipeline #6552 failed with stage
in 0 seconds
......@@ -342,13 +342,16 @@ class TestNextCloudParameters(NextCloudTestCase):
)
expected_dict = self.getNextcloudConfig(instance_parameter_dict)
self.assertEqual(expected_dict, config_dict)
collabora_config = subprocess.check_output([
php_bin,
occ,
"config:app:get",
"richdocuments",
"wopi_url"
])
try:
collabora_config = subprocess.check_output([
php_bin,
occ,
"config:app:get",
"richdocuments",
"wopi_url"
])
except subprocess.CalledProcessError as exc:
self.assertFalse((exc.returncode, exc.output))
self.assertEqual(collabora_config.strip(), b'https://my-custom.collabora.net')
stun_config = subprocess.check_output([
php_bin,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment