~nataliabidart/ubuntuone-client/use-sso-qt

« back to all changes in this revision

Viewing changes to contrib/testing/testcase.py

  • Committer: Tarmac
  • Author(s): facundo at com
  • Date: 2012-02-10 14:19:23 UTC
  • mfrom: (1188.2.6 aq-offload-queue)
  • Revision ID: tarmac-20120210141923-304q8yrs13iqy48o
Put exceeding ops in an offload queue, pick them up and execute them later when operations finish.

Show diffs side-by-side

added added

removed removed

Lines of Context:
496
496
    is_runnable = True
497
497
    running = True
498
498
 
499
 
    def __init__(self, share_id=None, node_id=None, other='', path=None):
 
499
    def __init__(self, share_id=None, node_id=None,
 
500
                 other='', path=None, **kwargs):
500
501
        self.share_id = share_id
501
502
        self.node_id = node_id
502
503
        self.other = other