MCPcopy Index your code
hub / github.com/pyload/pyload / addPackage

Method addPackage

module/common/APIExerciser.py:113–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 #print res
112
113 def addPackage(self):
114 name = "".join(sample(string.ascii_letters, 10))
115 urls = createURLs()
116
117 self.api.addPackage(name, urls, choice([Destination.Queue, Destination.Collector]))
118
119
120 def deleteFiles(self):

Callers 10

onEnterMethod · 0.45
_create_packagesMethod · 0.45
processMethod · 0.45
event_addMethod · 0.45
periodical_taskMethod · 0.45
addFunction · 0.45
addcryptedFunction · 0.45
addcrypted2Function · 0.45
flashgotFunction · 0.45
add_packageFunction · 0.45

Calls 2

createURLsFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected