def test_xml_output(self): fp = FilePath(self.path) self.assertTrue(self.path in fp.to_xml())
def test_round_trip(self): fp = FilePath(self.path) fp.fully_qualified = True fp2 = cybox.test.round_trip(fp, FilePath) self.assertEqual(fp.to_dict(), fp2.to_dict())