Changeset f9e13a5 in mod_gnutls for test/mgstest
- Timestamp:
- Dec 4, 2019, 2:37:12 PM (3 years ago)
- Branches:
- asyncio, master, proxy-ticket
- Children:
- 0560bb9
- Parents:
- 42097fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mgstest/tests.py
r42097fb rf9e13a5 100 100 Traceback (most recent call last): 101 101 ... 102 https-test-client.TestExpectationFailed: Unexpected body: 'xyz\\n' != 'test\\n'102 mgstest.TestExpectationFailed: Unexpected body: 'xyz\\n' != 'test\\n' 103 103 >>> r2 = TestRequest(path='/test.txt', method='GET', headers={}, expect={'status': 200, 'body': {'contains': ['tes', 'est']}}) 104 104 >>> r2.check_body('test\\n') … … 106 106 Traceback (most recent call last): 107 107 ... 108 https-test-client.TestExpectationFailed: Unexpected body: 'est\\n' does not contain 'tes'108 mgstest.TestExpectationFailed: Unexpected body: 'est\\n' does not contain 'tes' 109 109 >>> r3 = TestRequest(path='/test.txt', method='GET', headers={}, expect={'status': 200, 'body': {'contains': 'test'}}) 110 110 >>> r3.check_body('test\\n')
Note: See TracChangeset
for help on using the changeset viewer.