FunkLoad common utils.
$Id: utils.py 24649 2005-08-29 14:20:19Z bdelbosc $
Base filter.
Simple “sentinel” class that lets us identify user data and content type in POST
Close the logger.
Detach a process from the controlling terminal and run it in the background as a daemon.
Extract a token from text, using the first occurence of tag_start and ending with tag_end. Return None if tags are not found.
Get a logger.
Retrun the FunkLoad package version.
returns the path of the virtualenv.py script that is installed in the system. if it doesn’t exist returns None.
Return green text.
Simple check that return True if the text is an html page.
Ask tidy if the html is valid.
Return a tuple (status, errors)
Decode a meta method name.
Encode a extra information into a method_name.
Is it a meta method name ?.
this function will basically allow you to create a tarball of the current working directory (of tests) for transport over to a remote machine. It uses a few heuristics to avoid packaging log files.
A semaphore to tell the running threads when to begin recording.
Return red text.
Enable recording.
Sleep seconds.
Simple print to stdout
Not thread safe.
Middle truncate string up to length.
Get credential thru xmlrpc credential_server.
Get credential thru xmlrpc credential_server.
Get list of users thru xmlrpc credential_server.
Get list of groups thru xmlrpc credential_server.