~ubuntu-branches/ubuntu/natty/landscape-client/natty-updates

« back to all changes in this revision

Viewing changes to landscape/tests/test_reactor.py

  • Committer: Package Import Robot
  • Author(s): Andreas Hasenack
  • Date: 2012-03-19 09:33:34 UTC
  • mto: (1.2.10)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: package-import@ubuntu.com-20120319093334-oxjttz163vvfgq8s
ImportĀ upstreamĀ versionĀ 12.04

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
 
244
244
        reactor.call_in_thread(None, None, f, 1, 2, c=3)
245
245
 
246
 
        while not called:
247
 
            pass
248
 
 
249
246
        reactor.call_later(0.7, reactor.stop)
250
247
        reactor.run()
251
248
 
274
271
 
275
272
        reactor.call_in_thread(callback, errback, f)
276
273
 
277
 
        while not called:
278
 
            pass
279
 
 
280
274
        reactor.call_later(0.7, reactor.stop)
281
275
        reactor.run()
282
276
 
301
295
 
302
296
        reactor.call_in_thread(callback, errback, f)
303
297
 
304
 
        while not called:
305
 
            pass
306
 
 
307
298
        reactor.call_later(0.7, reactor.stop)
308
299
        reactor.run()
309
300
 
329
320
 
330
321
        reactor.call_in_thread(callback, None, f)
331
322
 
332
 
        while not called:
333
 
            pass
334
 
 
335
323
        reactor.call_later(0.7, reactor.stop)
336
324
        reactor.run()
337
325
 
355
343
 
356
344
        reactor.call_in_thread(None, None, f)
357
345
 
358
 
        while not called:
359
 
            pass
360
 
 
361
346
        reactor.call_later(0.7, reactor.stop)
362
347
        reactor.run()
363
348