~ubuntu-branches/ubuntu/trusty/buildbot/trusty-proposed

« back to all changes in this revision

Viewing changes to buildbot/test/unit/test_status_buildstep.py

  • Committer: Package Import Robot
  • Author(s): Andriy Senkovych
  • Date: 2013-10-10 13:22:47 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20131010132247-m622rpa3yemt62te
Tags: 0.8.8-1
* New upstream release
* Remove text-client.patch (applied upstream)
* Add bash-completion. Thanks to Elmir Jagudin
* debian/control: add Vcs-* fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    # that buildstep.BuildStepStatus is never instantiated here should tell you
24
24
    # that these classes are not well isolated!
25
25
 
26
 
    def setupBuilder(self, buildername, category=None):
 
26
    def setupBuilder(self, buildername, category=None, description=None):
27
27
        self.master = fakemaster.make_master()
28
28
        self.master.basedir = '/basedir'
29
29
 
30
 
        b = builder.BuilderStatus(buildername, self.master, category)
 
30
        b = builder.BuilderStatus(buildername, self.master, category, description)
31
31
        b.master = self.master
32
32
        # Ackwardly, Status sets this member variable.
33
33
        b.basedir = os.path.abspath(self.mktemp())