2
0
Fork 0
lighttpd2/tests/t-openssl.py

19 lines
368 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
from base import *
from requests import *
class TestSimpleRequest(CurlRequest):
PORT = 2
SCHEME = "https"
URL = "/test.txt"
EXPECT_RESPONSE_BODY = TEST_TXT
EXPECT_RESPONSE_CODE = 200
EXPECT_RESPONSE_HEADERS = [("Content-Type", "text/plain; charset=utf-8")]
vhost = "test1.ssl"
class Test(GroupTest):
group = [
TestSimpleRequest
]