Adjust a bit the minute provision error messages
@@ -43,8 +43,8 @@ def run_openstack(url, cmd, cached_list=False):
response = retry_session().post(url, verify=False, data=data)
except requests.exceptions.ConnectionError:
raise tmt.utils.ProvisionError(
- "The minute API is currently unavailable. Please check your "
- "connection or try again later")
+ "The minute API is currently unavailable. "
+ "Please check your connection or try again later.")
if response.ok:
# The output is in the form of: <stdout>\n<exit>\n.
split = response.text.rsplit('\n', 2)
@@ -182,7 +182,7 @@ class GuestMinute(tmt.Guest):
networks = json.loads(networks)
except json.decoder.JSONDecodeError:
raise tmt.utils.ProvisionError(
- "Failed to decode network data from minute API.")
+ "Failed to decode network data from the minute API.")
networks = [
network for network in networks
if re.match(NETWORK_NAME_RE, network['Network Name'])]
