Commit bf95f7f8 authored by ale's avatar ale

Mention the URL in test failures

parent 74966bff
Pipeline #6868 passed with stages
in 6 minutes and 42 seconds
......@@ -4,7 +4,6 @@ import os
import re
import socket
import ssl
import urllib.request, urllib.parse, urllib.error
import urllib.request, urllib.error, urllib.parse
import urllib.parse
......@@ -12,8 +12,8 @@ class URLTestBase(TestBase):
url = 'https://%s.%s/' % (
public_endpoint_name, ANSIBLE_VARS['domain_public'][0])
result = c.request(url, self.frontend_ip())
self.assertEqual(200, result['status'])
self.assertFalse(result.get('error'), f'url={url}')
self.assertEqual(200, result['status'], f'url={url}')
class TestHTTPRouter(URLTestBase):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment