code: def test_success_only(self):
      dep = ipp.Dependency(mixed, success=True, failure=False)
      self.assertUnmet(dep)
      self.assertUnreachable(dep)
      dep.all = False
      self.assertMet(dep)
      self.assertReachable(dep)
      dep = ipp.Dependency(completed, success=True, failure=False)
      self.assertMet(dep)
      self.assertReachable(dep)
      dep.all = False
      self.assertMet(dep)
      self.assertReachable(dep)
  
file_path: ipyparallel/ipyparallel/tests/test_dependency.py
imports: import ipyparallel
  from ipyparallel.serialize import can, uncan
  from ipyparallel.util import interactive
  from .clienttest import ClusterTestCase, raises_remote
label_desc: Use image node_id 8 for calling the TestDependency obj's underlying member method code with example usage: obj.test_success_only() without return types