

def testComparable(self):
    'Tests the path specification comparable property.'
    path_spec = encoded_stream_path_spec.EncodedStreamPathSpec(encoding_method='test', parent=self._path_spec)
    path_spec.assertIsNotNone(path_spec)
    expected_comparable = '\n'.join(['type: TEST', 'type: ENCODED_STREAM, encoding_method: test', ''])
    self.assertEqual(path_spec.comparable, expected_comparable)

dataset/ETHPy150Open log2timeline/dfvfs/tests/path/encoded_stream_path_spec.py EncodedStreamPathSpecTest.testComparable/VarMisuse@29/59 `self`->`path_spec`