Module ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr ListComp Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr ListComp Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr ListComp Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr ListComp Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign NameStore Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A cinderclient.tests.unit utils cinderclient.tests.unit.v1 fakes cinderclient.v1 services N/A cs N/A N/A fakes FakeClient ServicesTest N/A N/A utils TestCase N/A test_list_services N/A N/A self N/A N/A N/A svs N/A N/A N/A cs services list N/A N/A N/A cs assert_called GET /os-services N/A N/A N/A self assertEqual 3 N/A len svs N/A N/A N/A N/A self assertIsInstance s N/A services Service N/A s svs N/A test_list_services_with_hostname N/A N/A self N/A N/A N/A svs N/A N/A N/A cs services list host host2 N/A N/A N/A cs assert_called GET /os-services?host=host2 N/A N/A N/A self assertEqual 2 N/A len svs N/A N/A N/A N/A self assertIsInstance s N/A services Service N/A s svs N/A N/A N/A N/A self assertEqual host2 N/A s host N/A s svs N/A test_list_services_with_binary N/A N/A self N/A N/A N/A svs N/A N/A N/A cs services list binary cinder-volume N/A N/A N/A cs assert_called GET /os-services?binary=cinder-volume N/A N/A N/A self assertEqual 2 N/A len svs N/A N/A N/A N/A self assertIsInstance s N/A services Service N/A s svs N/A N/A N/A N/A self assertEqual cinder-volume N/A s binary N/A s svs N/A test_list_services_with_host_binary N/A N/A self N/A N/A N/A svs N/A N/A N/A cs services list host2 cinder-volume N/A N/A N/A cs assert_called GET /os-services?host=host2&binary=cinder-volume N/A N/A N/A self assertEqual 1 N/A len svs N/A N/A N/A N/A self assertIsInstance s N/A services Service N/A s svs N/A N/A N/A N/A self assertEqual host2 N/A s host N/A s svs N/A N/A N/A N/A self assertEqual cinder-volume N/A s binary N/A s svs N/A test_services_enable N/A N/A self N/A N/A N/A s N/A N/A N/A cs services enable host1 cinder-volume N/A values N/A host binary host1 cinder-volume N/A N/A N/A cs assert_called PUT /os-services/enable values N/A N/A N/A self assertIsInstance s N/A services Service N/A N/A N/A self assertEqual enabled N/A s status N/A test_services_disable N/A N/A self N/A N/A N/A s N/A N/A N/A cs services disable host1 cinder-volume N/A values N/A host binary host1 cinder-volume N/A N/A N/A cs assert_called PUT /os-services/disable values N/A N/A N/A self assertIsInstance s N/A services Service N/A N/A N/A self assertEqual disabled N/A s status N/A test_services_disable_log_reason N/A N/A self N/A N/A N/A s N/A N/A N/A cs services disable_log_reason host1 cinder-volume disable bad host N/A values N/A host binary disabled_reason host1 cinder-volume disable bad host N/A N/A N/A cs assert_called PUT /os-services/disable-log-reason values N/A N/A N/A self assertIsInstance s N/A services Service N/A N/A N/A self assertEqual disabled N/A s status N/A N/A