Module Import alias Import alias ImportFrom alias alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While CompareNotEq NameLoad Str body If Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str TupleLoad Num Num Num Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad keyword TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad keyword TupleLoad Num Num Num Num keyword TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad keyword TupleLoad Num Num Num Num keyword TupleLoad Num Num Num Num decorator_list decorator_list
N/A N/A os N/A sys mock Mock MagicMock patch N/A path N/A N/A N/A os path dirname __file__ N/A N/A path / N/A N/A N/A N/A N/A N/A N/A N/A N/A os path basename path lower startswith test N/A N/A N/A N/A N/A sys path append path N/A N/A N/A N/A N/A os path basename path testsuite N/A N/A N/A path N/A N/A N/A os path dirname path common * Bcfg2.Server.Statistics * TestStatistic N/A Bcfg2TestCase N/A test_stat N/A N/A self N/A N/A N/A stat N/A Statistic test 1 N/A N/A N/A self assertEqual N/A N/A stat get_value N/A test N/A 1.0 1.0 1.0 1 N/A N/A N/A stat add_value 10 N/A N/A N/A self assertEqual N/A N/A stat get_value N/A test N/A 1.0 10.0 5.5 2 N/A N/A N/A stat add_value 100 N/A N/A N/A self assertEqual N/A N/A stat get_value N/A test N/A 1.0 100.0 37.0 3 N/A N/A N/A stat add_value 12.345 N/A N/A N/A self assertEqual N/A N/A stat get_value N/A test N/A 1.0 100.0 30.83625 4 N/A N/A N/A stat add_value 0.655 N/A N/A N/A self assertEqual N/A N/A stat get_value N/A test N/A 0.655 100.0 24.8 5 N/A N/A TestStatistics N/A Bcfg2TestCase N/A test_stats N/A N/A self N/A N/A N/A stats N/A Statistics N/A N/A N/A self assertEqual N/A N/A stats display N/A dict N/A N/A N/A stats add_value test1 1 N/A N/A N/A self assertEqual N/A N/A stats display N/A dict test1 N/A 1.0 1.0 1.0 1 N/A N/A N/A stats add_value test2 1.23 N/A N/A N/A self assertEqual N/A N/A stats display N/A dict test1 N/A 1.0 1.0 1.0 1 test2 N/A 1.23 1.23 1.23 1 N/A N/A N/A stats add_value test1 10 N/A N/A N/A self assertEqual N/A N/A stats display N/A dict test1 N/A 1.0 10.0 5.5 2 test2 N/A 1.23 1.23 1.23 1 N/A N/A