def test_id_is_normalized_and_relative_to_root(self):
     test = YUIUnitTestCase()
     test_path = os.path.join(config.root, "../bar/baz/../bob.html")
     test.initialize(test_path)
     self.assertEqual("../bar/bob.html", test.id())
 def test_id(self):
     test = YUIUnitTestCase()
     test.initialize("foo/bar/baz.html")
     self.assertEqual(test.test_path, test.id())