Print message to screen related to what is currently being tested. If PRINT_INFO is False, these still serve as documentation for the associated lines. Takes a string with the message and level, which refers to the type of message, and formats the string with color and indentation accordingly. The higher the level number, the more verbose/specific.
Types of messages: - level 1: TestCase name (white on green, prepend new line) - level 2: test method name and docstring (green, no indentation) - level 3: action description (cyan, no indentation) - level 4: assertion description (blue, indent one) - level 5: closer assertion description (magenta, indent two)
Get the default value of the specified named argument. http://code.activestate.com/recipes/491272/
Marks a string as not requiring further HTML escaping prior to output.
Give template the list of door names that the staff user can manage, or ‘None’
Get class of object, based on the content type id