'Check if the progress tab is active in the tab set'

def assertTabActive(self, tabname, response):

    for line in response.content.split('\n'):
        if ((tabname in line) and ('active' in line)):
            return
    raise AssertionError('assertTabActive    failed:    {}    not    active'.format(tabname))
