def testInitialize(self):
    path_spec = encoded_stream_path_spec.EncodedStreamPathSpec(
        encoding_method=u'test', parent=self._path_spec)

    self.assertIsNotNone(path_spec)

    with self.assertRaises(ValueError):
      _ = encoded_stream_path_spec.EncodedStreamPathSpec(
          encoding_method=u'test', parent=None)

    with self.assertRaises(ValueError):
      _ = encoded_stream_path_spec.EncodedStreamPathSpec(
          encoding_method=None, parent=self._path_spec)

    with self.assertRaises(ValueError):
      _ = encoded_stream_path_spec.EncodedStreamPathSpec(
          encoding_method=u'test', parent=self._path_spec, bogus=u'BOGUS')
for flags, see pymel.core.general.listRelatives
dataset/ETHPy150Open log2timeline/dfvfs/tests/path/encoded_stream_path_spec.py/EncodedStreamPathSpecTest.testInitialize--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DagNode.listRelatives