Module Expr Str Import alias Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Copyright (c) 2013 Qin Xuye <qin@qinxuye.me>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Created on 2013-6-11

@author: Chine
 N/A unittest N/A threading cola.core.logs get_logger LogRecordSocketReceiver Test N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self client_logger N/A get_logger name cola_test_client server localhost N/A N/A self server_logger N/A get_logger name cola_test_server N/A N/A self log_server N/A LogRecordSocketReceiver logger N/A self server_logger N/A N/A N/A N/A N/A threading Thread target N/A N/A self log_server serve_forever start N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self log_server shutdown N/A testLog N/A N/A self N/A N/A N/A N/A N/A N/A self client_logger error Sth happens here N/A N/A N/A N/A self client_logger info sth info here N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main