Changeset 096859f in mod_gnutls for test/sample_test.yml


Ignore:
Timestamp:
Dec 1, 2019, 10:14:18 AM (20 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
8335f8c
Parents:
a4e136a
Message:

https-test-client.py: Check if the HTTP body contains certain strings

There are a few test cases where we currently only check the end of
the returned body. Searching for certain strings within the body
instead of expecting a full match allows them to work with the
Python-based test client.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sample_test.yml

    ra4e136a r096859f  
    1414    expect:
    1515      status: 200
    16       body: |
    17         test
     16      body:
     17        exactly: |
     18          test
     19  - !request
     20    path: /test.txt
     21    expect:
     22      status: 200
     23      body:
     24        contains:
     25          - 'tes'
     26          - 'est'
Note: See TracChangeset for help on using the changeset viewer.