def test_get_cuda_info_error(self) -> None:
        """Test that cuda is not supported in the current machine"""
        for index_name in [self.structured_index_name, self.unstructured_index_name]:
            with self.subTest(index_name):
                with self.assertRaises(MarqoWebError) as e:
                    _ = self.client.index(index_name).get_cuda_info()
                self.assertIn("CUDA is not available on this instance", str(e.exception.message))
Test that cuda is not supported in the current machine
tests/api_tests/v1/tests/api_tests/test_model_cache_management.py