def testComparable(self):
    path_spec = fake_path_spec.FakePathSpec(location=u'/test')

    self.assertIsNotNone(path_spec)

    expected_comparable = u'\n'.join([
        u'type: FAKE, location: /test',
        u''])

    self.assertEqual(path_spec.comparable, expected_comparable)
Tests the path specification comparable property.
dataset/ETHPy150Open log2timeline/dfvfs/tests/path/fake_path_spec.py/FakePathSpecTest.testComparable