Commit d22ad1d4 authored by Łukasz Nowak's avatar Łukasz Nowak

promise/plugin: Fix test_check_url_available

parent d7bc8fce
...@@ -136,7 +136,7 @@ extra_config_dict = { ...@@ -136,7 +136,7 @@ extra_config_dict = {
) )
def test_check_url_site_off(self): def test_check_url_site_off(self):
content = content = self.base_content % { content = self.base_content % {
'url': 'https://localhost:56789/site', 'url': 'https://localhost:56789/site',
'timeout': 10, 'timeout': 10,
'check_secure': 0, 'check_secure': 0,
...@@ -156,7 +156,7 @@ extra_config_dict = { ...@@ -156,7 +156,7 @@ extra_config_dict = {
def test_check_200(self): def test_check_200(self):
url = HTTPS_ENDPOINT + '200' url = HTTPS_ENDPOINT + '200'
content = content = self.base_content % { content = self.base_content % {
'url': url, 'url': url,
'timeout': 10, 'timeout': 10,
'check_secure': 0, 'check_secure': 0,
...@@ -174,7 +174,7 @@ extra_config_dict = { ...@@ -174,7 +174,7 @@ extra_config_dict = {
def test_check_401(self): def test_check_401(self):
url = HTTPS_ENDPOINT + '401' url = HTTPS_ENDPOINT + '401'
content = content = self.base_content % { content = self.base_content % {
'url': url, 'url': url,
'timeout': 10, 'timeout': 10,
'check_secure': 0, 'check_secure': 0,
...@@ -193,7 +193,7 @@ extra_config_dict = { ...@@ -193,7 +193,7 @@ extra_config_dict = {
def test_check_401_ignore_code(self): def test_check_401_ignore_code(self):
url = HTTPS_ENDPOINT + '401' url = HTTPS_ENDPOINT + '401'
content = content = self.base_content % { content = self.base_content % {
'url': url, 'url': url,
'timeout': 10, 'timeout': 10,
'check_secure': 0, 'check_secure': 0,
...@@ -211,7 +211,7 @@ extra_config_dict = { ...@@ -211,7 +211,7 @@ extra_config_dict = {
def test_check_401_check_secure(self): def test_check_401_check_secure(self):
url = HTTPS_ENDPOINT + '401' url = HTTPS_ENDPOINT + '401'
content = content = self.base_content % { content = self.base_content % {
'url': url, 'url': url,
'timeout': 10, 'timeout': 10,
'check_secure': 1, 'check_secure': 1,
...@@ -229,7 +229,7 @@ extra_config_dict = { ...@@ -229,7 +229,7 @@ extra_config_dict = {
def test_check_512_http_code(self): def test_check_512_http_code(self):
url = HTTPS_ENDPOINT + '512' url = HTTPS_ENDPOINT + '512'
content = content = self.base_content_http_code % { content = self.base_content_http_code % {
'url': url, 'url': url,
'timeout': 10, 'timeout': 10,
'check_secure': 0, 'check_secure': 0,
......
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