Changeset 851173b in mod_gnutls


Ignore:
Timestamp:
Dec 4, 2019, 9:16:26 AM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
ce85a5f
Parents:
1c2b936
Message:

TestConnection?: Rename unused "protocol" parameter to "transport"

Fits better, in case support for different transports is ever
implemented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/https-test-client.py

    r1c2b936 r851173b  
    170170    yaml_tag = '!connection'
    171171
    172     def __init__(self, actions, gnutls_params=[], protocol='https'):
     172    def __init__(self, actions, gnutls_params=[], transport='gnutls'):
    173173        self.gnutls_params = gnutls_params
    174174        self.actions = actions
    175         self.protocol = protocol
     175        self.transport = transport
    176176
    177177    def __repr__(self):
    178178        return (f'{self.__class__.__name__!s}'
    179179                f'(gnutls_params={self.gnutls_params!r}, '
    180                 f'actions={self.actions!r}, protocol={self.protocol!r})')
     180                f'actions={self.actions!r}, transport={self.transport!r})')
    181181
    182182    @classmethod
Note: See TracChangeset for help on using the changeset viewer.