Module ImportFrom alias Import alias Import alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr TupleLoad Str Num Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Num attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr
N/A chai Chai N/A socket N/A datetime connect N/A N/A N/A N/A N/A sock N/A N/A socket socket N/A N/A N/A sock bind N/A 127.0.0.1 10000 N/A N/A N/A sock recv 1024 N/A get_host N/A N/A N/A N/A N/A N/A N/A socket gethostname N/A SocketTestCase N/A Chai N/A test_socket N/A N/A self N/A N/A N/A mock_socket N/A N/A self mock N/A N/A N/A self mock socket socket N/A N/A N/A N/A N/A self expect N/A N/A socket socket __call__ returns mock_socket N/A N/A N/A N/A N/A self expect N/A mock_socket bind args N/A 127.0.0.1 10000 N/A N/A N/A N/A N/A N/A N/A self expect N/A mock_socket recv args 1024 returns HELLO WORLD N/A N/A N/A self assert_equals N/A connect HELLO WORLD N/A test_get_host N/A N/A self N/A N/A N/A N/A N/A self mock socket gethostname N/A N/A N/A N/A N/A self expect N/A N/A socket gethostname __call__ returns my_host N/A N/A N/A self assert_equals N/A get_host my_host N/A N/A now N/A N/A N/A N/A N/A N/A N/A N/A datetime datetime now N/A DatetimeTestCase N/A Chai N/A test_now N/A N/A self N/A N/A N/A current_now N/A N/A N/A datetime datetime now N/A mock_datetime N/A N/A self mock datetime datetime N/A N/A N/A N/A N/A self expect N/A mock_datetime now returns current_now N/A N/A N/A self assert_equals N/A now current_now N/A N/A N/A N/A __name__ __main__ N/A N/A unittest2 N/A N/A N/A unittest2 main