Module Expr Str ImportFrom alias Import alias Import alias Import alias identifier Import alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assert NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Assert NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assert NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Num FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assert NameLoad decorator_list decorator_list
N/A N/A 
Test the database interface.
 __future__ absolute_import N/A mock N/A pytest N/A rethinkdb r N/A util.db_control dbc TestDB N/A object N/A teardown_class N/A N/A cls N/A N/A N/A N/A N/A dbc start N/A classmethod setup N/A N/A self N/A N/A N/A N/A N/A dbc stop N/A test_alive N/A N/A self N/A N/A N/A N/A N/A N/A dbc alive N/A N/A N/A dbc start N/A N/A N/A dbc alive N/A test_start N/A N/A self N/A N/A N/A N/A N/A N/A dbc alive N/A N/A N/A dbc start N/A N/A N/A N/A N/A r connect N/A N/A N/A N/A N/A r errors ReqlDriverError N/A N/A False N/A test_start_timeout N/A N/A self mock_conn N/A N/A N/A N/A N/A N/A dbc alive N/A N/A mock_conn side_effect N/A N/A N/A r errors ReqlDriverError N/A N/A N/A pytest raises N/A dbc DBTimeout N/A N/A N/A N/A dbc start N/A N/A N/A mock patch util.db_control.MAX_TIME 2 N/A N/A mock patch db.common.connect test_stop N/A N/A self N/A N/A N/A N/A N/A N/A dbc alive N/A N/A N/A dbc start N/A N/A N/A dbc stop N/A N/A N/A N/A N/A r connect N/A False N/A N/A N/A N/A N/A r errors ReqlDriverError N/A N/A True N/A test_stop_raises N/A N/A self N/A N/A N/A N/A N/A N/A dbc alive N/A N/A N/A dbc start N/A N/A N/A mock patch util.db_control.log mock_log N/A N/A N/A mock_log return_value fail N/A N/A N/A pytest raises N/A dbc DBTimeout N/A N/A N/A N/A dbc stop N/A N/A N/A mock patch util.db_control.MAX_TIME 2 test_restart N/A N/A self N/A N/A N/A N/A N/A N/A dbc alive N/A N/A N/A dbc start N/A N/A N/A dbc restart N/A N/A N/A N/A N/A r connect N/A N/A N/A N/A N/A r errors ReqlDriverError N/A N/A False N/A N/A