Back to index

plone3  3.1.7
Namespaces | Functions | Variables
createpythontests.py File Reference

Go to the source code of this file.

Namespaces

namespace  kss.demo.selenium_utils.createpythontests

Functions

def kss.demo.selenium_utils.createpythontests.formatcommand

Variables

tuple kss.demo.selenium_utils.createpythontests.template
tuple kss.demo.selenium_utils.createpythontests.variable_regexp = re.compile('\$\{(?P<varname>\w*)\}')
tuple kss.demo.selenium_utils.createpythontests.htmlparser = HTMLTreeBuilder.TreeBuilder()
list kss.demo.selenium_utils.createpythontests.tests = []
tuple kss.demo.selenium_utils.createpythontests.tree = HTMLTreeBuilder.parse(filename)
tuple kss.demo.selenium_utils.createpythontests.root = tree.getroot()
tuple kss.demo.selenium_utils.createpythontests.testname = root.find('.//title')
list kss.demo.selenium_utils.createpythontests.commands = []
string kss.demo.selenium_utils.createpythontests.testfilename = 'seltest_%s.py'
string kss.demo.selenium_utils.createpythontests.testbody = ' def test_%s(self):\n'
tuple kss.demo.selenium_utils.createpythontests.f = open('seltest_all.py', 'wb')