def test_snippets(): """http://code.pediapress.com/wiki/ticket/220""" from mwlib import snippets for s in snippets.get_all(): print "testing", repr(s.txt) xhtml = getXHTML(s.txt) validate(xhtml)
def test_examples(): s = snippets.get_all() for x in s: yield doit, x
def test_snippets(): from mwlib import snippets for s in snippets.get_all(): print "testing", repr(s.txt) xml = getXML(s.txt)
def test_examples(): s=snippets.get_all() for x in s: yield doit, x