'Extract the group and test name for the url. This method is currently
used only for tests.'

def get_package_name(self, url, pkg_type):

    if (pkg_type == 'test'):
        regex = '[^:]+://(.*)/([^/]*)$'
        return self._get_package_name(url, regex)
    else:
        return ('', url)
