Classes | |
class | MyOptions |
Functions | |
def | rsplit23 |
def | rsplit24 |
Variables | |
string | cvsurl = """cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=BOSS&export=BOSS&tag=-rBOSS_4_3_6&output=/BOSS.tar.gz""" |
tuple | downloadDir = join(selfDir, "testtmp") |
string | giturl = """gitroot://ssh://ktf@hifi-bonsai.com/Users/git/COMP/PKGTOOLS.git?export=PKGTOOLS&tag=HEAD&output=/PKGTOOLS.tgz""" |
tuple | m = md5.new() |
tuple | murl = md5.new() |
tuple | options = DownloadOptions() |
tuple | otherOptions = MyOptions(downloadDir) |
tuple | pathname = join(downloadDir, "SOURCES/cache", murl.hexdigest (), "Coin-2.4.5.tar.gz") |
rsplit = rsplit24 | |
tuple | selfDir = rsplit(abspath (__file__), "/", 1) |
def tests::test_downloadMethods::rsplit23 | ( | string, | |
splitter, | |||
amounts | |||
) |
Definition at line 11 of file test_downloadMethods.py.
00012 : 00013 if not splitter in string: 00014 return [string] 00015 splitResults = string.split (splitter) 00016 if amounts: 00017 res = splitter.join (splitResults[:-amounts[0]]) 00018 resultList = [] 00019 resultList.append (res) 00020 for t in splitResults[-amounts[0]:]: 00021 resultList.append (t) return resultList
def tests::test_downloadMethods::rsplit24 | ( | string, | |
splitter, | |||
amounts | |||
) |
Definition at line 8 of file test_downloadMethods.py.
string tests::test_downloadMethods::cvsurl = """cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=BOSS&export=BOSS&tag=-rBOSS_4_3_6&output=/BOSS.tar.gz""" |
Definition at line 54 of file test_downloadMethods.py.
tuple tests::test_downloadMethods::downloadDir = join(selfDir, "testtmp") |
Definition at line 31 of file test_downloadMethods.py.
string tests::test_downloadMethods::giturl = """gitroot://ssh://ktf@hifi-bonsai.com/Users/git/COMP/PKGTOOLS.git?export=PKGTOOLS&tag=HEAD&output=/PKGTOOLS.tgz""" |
Definition at line 43 of file test_downloadMethods.py.
tuple tests::test_downloadMethods::m = md5.new() |
Definition at line 66 of file test_downloadMethods.py.
tuple tests::test_downloadMethods::murl = md5.new() |
Definition at line 113 of file test_downloadMethods.py.
tuple tests::test_downloadMethods::options = DownloadOptions() |
Definition at line 40 of file test_downloadMethods.py.
Definition at line 103 of file test_downloadMethods.py.
tuple tests::test_downloadMethods::pathname = join(downloadDir, "SOURCES/cache", murl.hexdigest (), "Coin-2.4.5.tar.gz") |
Definition at line 116 of file test_downloadMethods.py.
tests::test_downloadMethods::rsplit = rsplit24 |
Definition at line 22 of file test_downloadMethods.py.
tuple tests::test_downloadMethods::selfDir = rsplit(abspath (__file__), "/", 1) |
Definition at line 27 of file test_downloadMethods.py.