Changeset f9e13a5 in mod_gnutls


Ignore:
Timestamp:
Dec 4, 2019, 2:37:12 PM (10 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
0560bb9
Parents:
42097fb
Message:

mgstest.tests: Fix doctests for module structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mgstest/tests.py

    r42097fb rf9e13a5  
    100100        Traceback (most recent call last):
    101101        ...
    102         https-test-client.TestExpectationFailed: Unexpected body: 'xyz\\n' != 'test\\n'
     102        mgstest.TestExpectationFailed: Unexpected body: 'xyz\\n' != 'test\\n'
    103103        >>> r2 = TestRequest(path='/test.txt', method='GET', headers={}, expect={'status': 200, 'body': {'contains': ['tes', 'est']}})
    104104        >>> r2.check_body('test\\n')
     
    106106        Traceback (most recent call last):
    107107        ...
    108         https-test-client.TestExpectationFailed: Unexpected body: 'est\\n' does not contain 'tes'
     108        mgstest.TestExpectationFailed: Unexpected body: 'est\\n' does not contain 'tes'
    109109        >>> r3 = TestRequest(path='/test.txt', method='GET', headers={}, expect={'status': 200, 'body': {'contains': 'test'}})
    110110        >>> r3.check_body('test\\n')
Note: See TracChangeset for help on using the changeset viewer.