Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword ListLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad Str keyword ListLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str decorator_list Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A N/A 
    :codeauthor: :email:`Rahul Handay <rahulha@saltstack.com>`
 __future__ absolute_import salttesting TestCase skipIf salttesting.mock MagicMock patch NO_MOCK NO_MOCK_REASON salt.modules nova N/A N/A nova __grains__ N/A N/A N/A nova __salt__ N/A N/A N/A nova __context__ N/A N/A N/A nova __opts__ N/A NovaTestCase N/A TestCase N/A N/A 
    Test cases for salt.modules.nova
     test_boot N/A N/A self mock_auth N/A N/A N/A 
        Test for Boot (create) a new instance
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth boot N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova boot name N/A N/A patch salt.modules.nova._auth test_volume_list N/A N/A self mock_auth N/A N/A N/A 
        Test for List storage volumes
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth volume_list N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova volume_list N/A N/A patch salt.modules.nova._auth test_volume_show N/A N/A self mock_auth N/A N/A N/A 
        Test for Create a block storage volume
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth volume_show N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova volume_show name N/A N/A patch salt.modules.nova._auth test_volume_create N/A N/A self mock_auth N/A N/A N/A 
        Test for Create a block storage volume
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth volume_create N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova volume_create name N/A N/A patch salt.modules.nova._auth test_volume_delete N/A N/A self mock_auth N/A N/A N/A 
        Test for Destroy the volume
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth volume_delete N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova volume_delete name N/A N/A patch salt.modules.nova._auth test_volume_detach N/A N/A self mock_auth N/A N/A N/A 
        Test for Attach a block storage volume
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth volume_detach N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova volume_detach name N/A N/A patch salt.modules.nova._auth test_volume_attach N/A N/A self mock_auth N/A N/A N/A 
        Test for Attach a block storage volume
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth volume_attach N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova volume_attach name serv_name N/A N/A patch salt.modules.nova._auth test_suspend N/A N/A self mock_auth N/A N/A N/A 
        Test for Suspend an instance
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth suspend N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova suspend instance_id N/A N/A patch salt.modules.nova._auth test_resume N/A N/A self mock_auth N/A N/A N/A 
        Test for Resume an instance
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth resume N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova resume instance_id N/A N/A patch salt.modules.nova._auth test_lock N/A N/A self mock_auth N/A N/A N/A 
        Test for Lock an instance
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth lock N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova lock instance_id N/A N/A patch salt.modules.nova._auth test_delete N/A N/A self mock_auth N/A N/A N/A 
        Test for Delete an instance
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth delete N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova delete instance_id N/A N/A patch salt.modules.nova._auth test_flavor_list N/A N/A self mock_auth N/A N/A N/A 
        Test for Return a list of available flavors (nova flavor-list)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth flavor_list N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova flavor_list N/A N/A patch salt.modules.nova._auth test_flavor_create N/A N/A self mock_auth N/A N/A N/A 
        Test for Add a flavor to nova (nova flavor-create)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth flavor_create N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova flavor_create name N/A N/A patch salt.modules.nova._auth test_flavor_delete N/A N/A self mock_auth N/A N/A N/A 
        Test for Delete a flavor from nova by id (nova flavor-delete)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth flavor_delete N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova flavor_delete flavor_id N/A N/A patch salt.modules.nova._auth test_keypair_list N/A N/A self mock_auth N/A N/A N/A 
        Test for Return a list of available keypairs (nova keypair-list)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth keypair_list N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova keypair_list N/A N/A patch salt.modules.nova._auth test_keypair_add N/A N/A self mock_auth N/A N/A N/A 
        Test for Add a keypair to nova (nova keypair-add)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth keypair_add N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova keypair_add name N/A N/A patch salt.modules.nova._auth test_keypair_delete N/A N/A self mock_auth N/A N/A N/A 
        Test for Add a keypair to nova (nova keypair-delete)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth keypair_delete N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova keypair_delete name N/A N/A patch salt.modules.nova._auth test_image_list N/A N/A self mock_auth N/A N/A N/A 
        Test for Return a list of available images
         (nova images-list + nova image-show)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth image_list N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova image_list N/A N/A patch salt.modules.nova._auth test_image_meta_set N/A N/A self mock_auth N/A N/A N/A 
        Test for Sets a key=value pair in the
         metadata for an image (nova image-meta set)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth image_meta_set N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova image_meta_set N/A N/A patch salt.modules.nova._auth test_image_meta_delete N/A N/A self mock_auth N/A N/A N/A 
        Test for Delete a key=value pair from the metadata for an image
        (nova image-meta set)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth image_meta_delete N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova image_meta_delete N/A N/A patch salt.modules.nova._auth test_list_ N/A N/A self N/A N/A N/A 
        Test for To maintain the feel of the nova command line,
         this function simply calls
         the server_list function.
          N/A N/A N/A patch object nova server_list return_value N/A A N/A N/A N/A N/A self assertEqual N/A N/A nova list_ N/A A N/A test_server_list N/A N/A self mock_auth N/A N/A N/A 
        Test for Return list of active servers
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth server_list N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova server_list N/A N/A patch salt.modules.nova._auth test_show N/A N/A self N/A N/A N/A 
        Test for To maintain the feel of the nova command line,
         this function simply calls
         the server_show function.
          N/A N/A N/A patch object nova server_show return_value N/A A N/A N/A N/A N/A self assertEqual N/A N/A nova show server_id N/A A N/A test_server_list_detailed N/A N/A self mock_auth N/A N/A N/A 
        Test for Return detailed list of active servers
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth server_list_detailed N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova server_list_detailed N/A N/A patch salt.modules.nova._auth test_server_show N/A N/A self mock_auth N/A N/A N/A 
        Test for Return detailed information for an active server
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth server_show N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova server_show serv_id N/A N/A patch salt.modules.nova._auth test_secgroup_create N/A N/A self mock_auth N/A N/A N/A 
        Test for Add a secgroup to nova (nova secgroup-create)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth server_list_detailed N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova secgroup_create name desc N/A N/A patch salt.modules.nova._auth test_secgroup_delete N/A N/A self mock_auth N/A N/A N/A 
        Test for Delete a secgroup to nova (nova secgroup-delete)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth secgroup_delete N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova secgroup_delete name N/A N/A patch salt.modules.nova._auth test_secgroup_list N/A N/A self mock_auth N/A N/A N/A 
        Test for Return a list of available security groups (nova items-list)
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth secgroup_list N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova secgroup_list N/A N/A patch salt.modules.nova._auth test_server_by_name N/A N/A self mock_auth N/A N/A N/A 
        Test for Return information about a server
         N/A N/A mock_auth side_effect N/A MagicMock N/A N/A N/A patch object mock_auth server_by_name N/A MagicMock return_value A N/A N/A N/A N/A self assertTrue N/A N/A nova server_by_name name N/A N/A patch salt.modules.nova._auth N/A N/A skipIf NO_MOCK NO_MOCK_REASON N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests NovaTestCase needs_daemon False