Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_asynchat Namespace Reference

Classes

class  echo_server
class  echo_client
class  TestAsynchat
class  TestAsynchat_WithPoll
class  TestHelperFunctions
class  TestFifo

Functions

def start_echo_server
def test_main

Variables

tuple thread = support.import_module('_thread')
 threading = None
 HOST = support.HOST
string SERVER_QUIT = 'QUIT\n'

Function Documentation

Definition at line 92 of file test_asynchat.py.

00092 
00093     def start_echo_server():
00094         event = threading.Event()
00095         s = echo_server(event)
00096         s.start()
00097         event.wait()
00098         event.clear()
00099         time.sleep(0.01) # Give server time to start accepting.
00100         return s, event
00101 
00102 
@unittest.skipUnless(threading, 'Threading required for this test.')

Here is the call graph for this function:

Here is the caller graph for this function:

def test.test_asynchat.test_main (   verbose = None)

Definition at line 271 of file test_asynchat.py.

00271 
00272 def test_main(verbose=None):
00273     support.run_unittest(TestAsynchat, TestAsynchat_WithPoll,
00274                               TestHelperFunctions, TestFifo)


Variable Documentation

Definition at line 16 of file test_asynchat.py.

Definition at line 17 of file test_asynchat.py.

Definition at line 6 of file test_asynchat.py.

Definition at line 14 of file test_asynchat.py.