Back to index

python3.2  3.2.2
Classes | Namespaces | Functions | Variables
mock_socket.py File Reference

Go to the source code of this file.

Classes

class  test.mock_socket.MockFile
class  test.mock_socket.MockSocket
class  test.mock_socket.gaierror
class  test.mock_socket.error

Namespaces

namespace  test.mock_socket

Functions

def test.mock_socket.reply_with
def test.mock_socket.socket
def test.mock_socket.create_connection
def test.mock_socket.setdefaulttimeout
def test.mock_socket.getdefaulttimeout
def test.mock_socket.getfqdn
def test.mock_socket.gethostname
def test.mock_socket.gethostbyname

Variables

 test.mock_socket._defaulttimeout = None
 test.mock_socket._reply_data = None
 test.mock_socket.AF_INET = None
 test.mock_socket.SOCK_STREAM = None
 test.mock_socket.SOL_SOCKET = None
 test.mock_socket.SO_REUSEADDR = None