예제 #1
0
    def __init__(self, stream=sys.stderr, descriptions=None, verbosity=1, config=None, errorClasses=None):
        super(TeamcityPlugin, self).__init__()

        if errorClasses is None:
            errorClasses = {}

        self.errorClasses = errorClasses
        if config is None:
            config = Config()
        self.config = config
        self.output = stream
        self.messages = TeamcityServiceMessages(self.output, prepend_linebreak=True)
        self.messages.testMatrixEntered()
        self.current_suite = None
        TextTestResult.__init__(self, stream, descriptions, verbosity, config, errorClasses)
        TeamcityTestResult.__init__(self, stream)
예제 #2
0
  def __init__(self, stream=sys.stderr, descriptions=None, verbosity=1,
               config=None, errorClasses=None):
    super(TeamcityPlugin, self).__init__()

    if errorClasses is None:
      errorClasses = {}

    self.errorClasses = errorClasses
    if config is None:
      config = Config()
    self.config = config
    self.output = stream
    self.messages = TeamcityServiceMessages(self.output,
      prepend_linebreak=True)
    self.messages.testMatrixEntered()
    self.current_suite = None
    TextTestResult.__init__(self, stream, descriptions, verbosity, config,
      errorClasses)
    TeamcityTestResult.__init__(self, stream)
예제 #3
0
 def __init__(self, prefix):
   TeamcityTestResult.__init__(self)
   self.prefix = prefix
예제 #4
0
 def __init__(self, prefix):
     TeamcityTestResult.__init__(self)
     self.prefix = prefix