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

    self.assertIsNotNone(path_spec)

    expected_comparable = u'\n'.join([
        u'type: TEST',
        u'type: ENCODED_STREAM, encoding_method: test',
        u''])

    self.assertEqual(path_spec.comparable, expected_comparable)
Shows the given Features
dataset/ETHPy150Open log2timeline/dfvfs/tests/path/encoded_stream_path_spec.py/EncodedStreamPathSpecTest.testComparable--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/SamplerApplication.py/IFeatureList.setFeatureContainer