'creating prerequisites for installing a role; setUpClass occurs ONCE whereas setUp occurs with every method tested.'

@classmethod
def setUpClass(cls):

    if os.path.exists('./delete_me'):
        shutil.rmtree('./delete_me')
    gc = GalaxyCLI(args=['init', '--offline', 'delete_me'])
    gc.parse()
    gc.run()
    cls.role_dir = './delete_me'
    cls.role_name = 'delete_me'
    cls.role_path = os.path.join(tempfile.mkdtemp(), 'roles')
    if (not os.path.isdir(cls.role_path)):
        os.makedirs(cls.role_path)
    cls.role_tar = './delete_me.tar.gz'
    cls.makeTar(cls.role_tar, cls.role_dir)
    cls.role_req = './delete_me_requirements.yml'
    fd = open(cls.role_req, 'w')
    fd.write(("-    'src':    '%s'\n        'name':    '%s'\n        'path':    '%s'" % (cls.role_tar, cls.role_name, cls.role_path)))
    fd.close()
