':param test: Qualified name for test case.
Should have next format:
{packagename}.{path.to.class.in.module}.{testcase}.
Examples:
scripts.script-afd.test_afd
core.controllers.auto_update.tests.test_autoupd.TesVMgr.testXXX
:param took: Time that took the test to run.'

def add_success(self, test, took):

    self._stats['pass'] += 1
    quoteattr = saxutils.quoteattr
    (pkg, _, id) = test.rpartition('.')
    self.results.append(('<testcase    classname=%s    name=%s    time="%d"    />' % (quoteattr(pkg), quoteattr(id), took)))
