xmlrunner Namespace Reference

Classes

class  _TestInfo
class  _XMLTestResult
class  XMLTestRunner
class  XMLTestRunnerTest
class  XMLTestProgram

Functions

def strip_ml_tags

Variables

string __revision__ = "$Id: /private/python/stdlib/xmlrunner.py 16654 2007-11-12T12:46:35.368945Z srittau $"
 main = XMLTestProgram

Function Documentation

def xmlrunner::strip_ml_tags (   in_text  ) 
Description: Removes all HTML/XML-like tags from the input text.
Inputs: s --> string of text
Outputs: text string without the tags

# doctest unit testing framework

>>> test_text = "Keep this Text <remove><me /> KEEP </remove> 123"
>>> strip_ml_tags(test_text)
'Keep this Text  KEEP  123'

Definition at line 23 of file xmlrunner.py.


Variable Documentation

string xmlrunner::__revision__ = "$Id: /private/python/stdlib/xmlrunner.py 16654 2007-11-12T12:46:35.368945Z srittau $"

Definition at line 10 of file xmlrunner.py.

Definition at line 407 of file xmlrunner.py.

Generated on Thu May 30 16:07:33 2013 for GME by  doxygen 1.6.3