Revision f1501b3f test/ganeti.workerpool_unittest.py

b/test/ganeti.workerpool_unittest.py
64 64
    try:
65 65
      self._CheckWorkerCount(wp, 3)
66 66

  
67
      for i in xrange(10):
67
      for i in range(10):
68 68
        wp.AddTask("Hello world %s" % i)
69 69

  
70 70
      wp.Quiesce()
......
101 101

  
102 102
      ctx = ChecksumContext()
103 103
      checksum = ChecksumContext.CHECKSUM_START
104
      for i in xrange(1, 100):
104
      for i in range(1, 100):
105 105
        checksum = ChecksumContext.UpdateChecksum(checksum, i)
106 106
        wp.AddTask(ctx, i)
107 107

  

Also available in: Unified diff