Module ImportFrom alias ImportFrom alias Import alias Import alias identifier Import alias identifier Import alias identifier Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Call NameLoad keyword Num keyword Num Call NameLoad keyword Num body With NameLoad body Assign NameStore Dict Str Str Assign NameStore Dict Str Str Str Str Num Call NameLoad NameLoad Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad attr NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr Str Str Num attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Num FunctionDef arguments args defaults body With NameLoad body Assign NameStore Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr Str attr NameLoad attr Assign NameStore Dict Str Str Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Num Num decorator_list Call NameLoad Num FunctionDef arguments args NameParam defaults Call NameLoad keyword Str keyword Num keyword Num body With NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Str Str NameLoad Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num attr Assert CompareEq Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad Num Expr Call AttributeLoad NameLoad attr Dict NameLoad Assert CompareEq Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad Num Num decorator_list Call NameLoad Num decorator_list
N/A mocktest * pyqcy * N/A datetime N/A neat.globals.db_cleaner cleaner N/A neat.common common N/A neat.db_utils db_utils N/A logging N/A N/A N/A logging disable N/A logging CRITICAL DbCleaner N/A TestCase N/A start N/A N/A iterations time_interval N/A N/A int_ min 0 max 10 N/A int_ min 0 N/A N/A MockTransaction N/A N/A state N/A property value N/A config N/A log_directory log_level db_cleaner_interval dir 2 N/A str time_interval N/A paths N/A N/A cleaner DEFAILT_CONFIG_PATH N/A cleaner CONFIG_PATH N/A fields N/A cleaner REQUIRED_FIELDS N/A N/A N/A N/A N/A N/A N/A N/A expect cleaner read_and_validate_config paths fields and_return config once N/A N/A N/A N/A N/A N/A expect common init_logging dir db-cleaner.log 2 once N/A N/A N/A N/A N/A N/A N/A N/A expect common start N/A cleaner init_state N/A cleaner execute config time_interval and_return state once N/A N/A N/A N/A cleaner start state N/A N/A qc 10 init_state N/A N/A N/A N/A N/A MockTransaction N/A N/A db N/A mock db N/A N/A N/A N/A N/A N/A N/A N/A expect cleaner init_db db and_return db once N/A config N/A sql_connection db_cleaner_interval db 7200 N/A state N/A N/A cleaner init_state config N/A N/A N/A state N/A db db N/A N/A N/A state N/A time_delta N/A N/A datetime timedelta 0 7200 N/A N/A qc 1 execute N/A N/A uuid N/A N/A str_ of abc123- min_length 36 max_length 36 N/A N/A MockTransaction N/A N/A db N/A N/A db_utils init_db sqlite:///:memory: N/A result N/A N/A N/A N/A N/A db vms insert execute uuid uuid N/A vm_id N/A N/A result inserted_primary_key N/A 0 N/A time N/A N/A N/A datetime datetime today N/A i N/A range 10 N/A N/A N/A N/A N/A N/A N/A db vm_resource_usage insert execute vm_id 1 cpu_mhz i timestamp N/A N/A time replace second i N/A state N/A db time_delta db N/A N/A datetime timedelta seconds 5 N/A N/A N/A N/A N/A N/A N/A N/A expect cleaner today and_return N/A N/A time replace second 10 once N/A N/A N/A N/A db select_cpu_mhz_for_vm uuid 100 N/A range 10 N/A N/A N/A cleaner execute N/A state N/A N/A N/A N/A db select_cpu_mhz_for_vm uuid 100 N/A range 5 10 N/A N/A qc 1 N/A