Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameStore body With Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameStore body With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Return Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A mock neutron.agent.common base_polling neutron.agent.linux polling neutron.tests base TestGetPollingManager N/A N/A base BaseTestCase N/A test_return_always_poll_by_default N/A N/A self N/A N/A N/A N/A N/A polling get_polling_manager pm N/A N/A N/A N/A self assertEqual N/A pm __class__ N/A base_polling AlwaysPoll N/A test_manage_polling_minimizer N/A N/A self N/A N/A N/A mock_target neutron.agent.linux.polling.InterfacePollingMinimizer N/A N/A N/A mock patch N/A %s.start mock_target mock_start N/A N/A N/A N/A mock patch N/A %s.stop mock_target mock_stop N/A N/A N/A N/A polling get_polling_manager minimize_polling True pm N/A N/A N/A N/A self assertEqual N/A pm __class__ N/A polling InterfacePollingMinimizer N/A N/A N/A mock_stop assert_has_calls N/A N/A N/A mock call N/A N/A N/A mock_start assert_has_calls N/A N/A N/A mock call N/A N/A TestInterfacePollingMinimizer N/A N/A base BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestInterfacePollingMinimizer self setUp N/A N/A self pm N/A N/A polling InterfacePollingMinimizer N/A test_start_calls_monitor_start N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self pm _monitor start mock_start N/A N/A N/A N/A N/A self pm start N/A N/A N/A mock_start assert_called_with N/A test_stop_calls_monitor_stop N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self pm _monitor stop mock_stop N/A N/A N/A N/A N/A self pm stop N/A N/A N/A mock_stop assert_called_with N/A mock_has_updates N/A N/A self return_value N/A N/A N/A target neutron.agent.linux.ovsdb_monitor.SimpleInterfaceMonitor.has_updates N/A N/A N/A mock patch target new_callable N/A N/A mock PropertyMock return_value return_value N/A test__is_polling_required_returns_when_updates_are_present N/A N/A self N/A N/A N/A N/A N/A self mock_has_updates True N/A N/A N/A N/A self assertTrue N/A N/A N/A self pm _is_polling_required N/A N/A