AlluraTest/alluratest/controller.py
def find_form(self, resp, cond):
        """Find form on the page that meets given condition"""
        for f in resp.forms.itervalues():
            if cond(f):
                return f
Find form on the page that meets given condition
Find form on the page that meets given condition
Find form on the page that meets given condition
def find_form(self, resp, cond):
        for f in resp.forms.itervalues():
            if cond(f):
                return f
def find_form ( self , resp , cond ) : for f in resp . forms . itervalues ( ) : if cond ( f ) : return f
Find form on the page that meets given condition
Find form on the page that meets given condition
"""Find form on the page that meets given condition"""
self
resp
cond