def getTestedSpecPackage(name): pkg_path = glob.glob(os.environ['TESTPATH'] + '/' + name + '.spec')[0] return Pkg.FakePkg(pkg_path)
def getTestedSpecPackage(name): pkg_path = glob.glob(os.path.join(_testpath(), name) + ".spec")[0] return Pkg.FakePkg(pkg_path)