ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Clients/Tests/testGetDatasetBlocks.py
(Generate patch)

Comparing COMP/DBS/Clients/Tests/testGetDatasetBlocks.py (file contents):
Revision 1.2 by afaq, Tue Feb 7 22:26:02 2006 UTC vs.
Revision 1.3 by sekhri, Fri Feb 10 19:58:38 2006 UTC

# Line 10 | Line 10 | class testGetDatasetBlocks(testCaseInter
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(
# Line 36 | Line 35 | class testGetDatasetBlocks(testCaseInter
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines