userver: testsuite.mockserver.classes.MockserverInfo Class Reference
Loading...
Searching...
No Matches
testsuite.mockserver.classes.MockserverInfo Class Reference

Detailed Description

Definition at line 39 of file classes.py.

Public Member Functions

str url (self, str path)
 Concats base_url and provided path.
str get_host_header (self)
str ws_url (self, str path)

Public Attributes

 base_url
int port
 host

Static Public Attributes

pathlib socket_path = None
bool https = False

Member Function Documentation

◆ get_host_header()

str testsuite.mockserver.classes.MockserverInfo.get_host_header ( self)

Definition at line 50 of file classes.py.

◆ url()

str testsuite.mockserver.classes.MockserverInfo.url ( self,
str path )

Concats base_url and provided path.

Definition at line 46 of file classes.py.

◆ ws_url()

str testsuite.mockserver.classes.MockserverInfo.ws_url ( self,
str path )

Definition at line 63 of file classes.py.

Member Data Documentation

◆ base_url

testsuite.mockserver.classes.MockserverInfo.base_url

Definition at line 48 of file classes.py.

◆ host

testsuite.mockserver.classes.MockserverInfo.host

Definition at line 60 of file classes.py.

◆ https

bool testsuite.mockserver.classes.MockserverInfo.https = False
static

Definition at line 44 of file classes.py.

◆ port

int testsuite.mockserver.classes.MockserverInfo.port

Definition at line 54 of file classes.py.

◆ socket_path

testsuite.mockserver.classes.MockserverInfo.socket_path = None
static

Definition at line 43 of file classes.py.


The documentation for this class was generated from the following file: