Exemplo n.º 1
0
    def test_symbol_create_workload_volume_mapping(self):
       api = CApi()
       c_api = None
       try:
            c_api = api.symbol_create_workload_volume_mapping(system_id="test", body="test", )
            # For the DELETE calls, there's no reponse returned and we want to set that as a valid sdk call.
            if c_api is None:
                c_api = 1
       except (ApiException, IOError)  as exp:
             # The API call went through but got a HTTP errorcode, which means the SDK works
             c_api = 1

       self.assertNotEqual(c_api, None)
Exemplo n.º 2
0
    def test_symbol_clear_dpl_core_dump_needs_retrieved(self):
       api = CApi()
       c_api = None
       try:
            c_api = api.symbol_clear_dpl_core_dump_needs_retrieved(system_id="test", )
            # For the DELETE calls, there's no reponse returned and we want to set that as a valid sdk call.
            if c_api is None:
                c_api = 1
       except (ApiException, IOError)  as exp:
             # The API call went through but got a HTTP errorcode, which means the SDK works
             c_api = 1

       self.assertNotEqual(c_api, None)
Exemplo n.º 3
0
    def test_symbol_cancel_cache_backup_device_diagnostic(self):
       api = CApi()
       c_api = None
       try:
            c_api = api.symbol_cancel_cache_backup_device_diagnostic(system_id="test", )
            # For the DELETE calls, there's no reponse returned and we want to set that as a valid sdk call.
            if c_api is None:
                c_api = 1
       except (ApiException, IOError)  as exp:
             # The API call went through but got a HTTP errorcode, which means the SDK works
             c_api = 1

       self.assertNotEqual(c_api, None)
Exemplo n.º 4
0
    def test_symbol_clear_async_mirror_group_member_fault_indication(self):
       api = CApi()
       c_api = None
       try:
            c_api = api.symbol_clear_async_mirror_group_member_fault_indication(system_id="test", body="test", )
            # For the DELETE calls, there's no reponse returned and we want to set that as a valid sdk call.
            if c_api is None:
                c_api = 1
       except (ApiException, IOError)  as exp:
             # The API call went through but got a HTTP errorcode, which means the SDK works
             c_api = 1

       self.assertNotEqual(c_api, None)