def main(): d = testData.stgMetaXsdDict() doc = stgMetaXsd.createXML(d) s = doc.toprettyxml() print s #pprint.pprint( s ) # used to get text for testData.stgMetaXsdXml if s == testData.stgMetaXsdXml(): print 'Passed' else: print 'Failed'
def main(): d = testData.stgMetaXsdDict() doc = stgMetaXsd.createXML( d ) s = doc.toprettyxml() print s #pprint.pprint( s ) # used to get text for testData.stgMetaXsdXml if s == testData.stgMetaXsdXml(): print 'Passed' else: print 'Failed'
def main(): dtd = testData.stgMetaDtdDict() xsd = convert.dtdDict2metaXsdDict(dtd) pprint.pprint(xsd) test = testData.stgMetaXsdDict() pprint.pprint(test) if test == xsd: print 'Passed' else: print 'Failed'
def main(): dtd = testData.stgMetaDtdDict() xsd = convert.dtdDict2metaXsdDict( dtd ) pprint.pprint( xsd ) test = testData.stgMetaXsdDict() pprint.pprint( test ) if test == xsd: print 'Passed' else: print 'Failed'