10 |
|
def __init__(self): |
11 |
|
testCaseInterface.testCaseInterface.__init__(self) |
12 |
|
self.addTestCase(self.getDatasetBlocks) |
13 |
– |
#self.addTestCase(self.printYahoo) |
13 |
|
|
14 |
|
datasetPath = "/ThisIsATestDataset/Digi/ThisIsATestProcDataset" |
15 |
|
app = dbsApplication.DbsApplication( |
35 |
|
try: |
36 |
|
|
37 |
|
fileBlockList = self.api.getDatasetFileBlocks(self.dataset) |
38 |
< |
print fileBlockList |
38 |
> |
for fileBlock in fileBlockList: |
39 |
> |
print "File block name/id: %s/%s" % (fileBlock.getBlockName(),fileBlock.getBlockId()) |
40 |
> |
for eventCollection in fileBlock.getEventCollectionList(): |
41 |
> |
print " %s" % eventCollection |
42 |
|
|
43 |
|
except dbsException.DbsException, ex: |
44 |
|
return 1 |