Changeset 3d7865f in mod_gnutls


Ignore:
Timestamp:
Mar 5, 2021, 2:40:08 AM (9 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
a6b3ae3, c6d4701
Parents:
461fd38
Message:

Formatting fix in doctests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mgstest/tests.py

    r461fd38 r3d7865f  
    255255        ...                  expect={'headers': {'X-Forbidden-Header': None,
    256256        ...                                      'X-Required-Header': 'Hi!'}})
    257         >>> r1.check_headers({ 'X-Required-Header': 'Hi!' })
    258         >>> r1.check_headers({ 'X-Required-Header': 'Hello!' })
     257        >>> r1.check_headers({'X-Required-Header': 'Hi!'})
     258        >>> r1.check_headers({'X-Required-Header': 'Hello!'})
    259259        Traceback (most recent call last):
    260260        ...
    261261        mgstest.TestExpectationFailed: Unexpected value in header \
    262262X-Required-Header: 'Hello!', expected 'Hi!'
    263         >>> r1.check_headers({ 'X-Forbidden-Header': 'Hi!' })
     263        >>> r1.check_headers({'X-Forbidden-Header': 'Hi!'})
    264264        Traceback (most recent call last):
    265265        ...
Note: See TracChangeset for help on using the changeset viewer.