class_docstr: Test Future interface to make sure all backend behave the same
docstr: Successful - OK
docstr_tok: ["Successful","-","OK"]
code: def successful_ok(self, executor):
      """Successful - OK"""
      future = executor.submit(function, None, 1, 1)
  
      with pytest.raises(ValueError):
          assert future.successful()
  
      future.wait()
      assert future.successful() is True
  
imports: import time
  import pytest
  from orion.executor.dask_backend import HAS_DASK, Dask
  from orion.executor.multiprocess_backend import PoolExecutor
  from orion.executor.single_backend import SingleExecutor
label_desc: Use image node_id 10 for calling the TestFutures obj's underlying member method code with example usage: obj.successful_ok(executor) without return types