Skip to content

Commit

Permalink
typo, and improvments of the template
Browse files Browse the repository at this point in the history
  • Loading branch information
tardyp committed Mar 20, 2017
1 parent fd7cb7c commit 173ecaa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions master/buildbot/test/integration/test_integration_template.py
Expand Up @@ -22,14 +22,14 @@


# This integration test creates a master and worker environment,
# with one builders and a shellcommand step
# with one builder and a shellcommand step
# meant to be a template for integration steps
class ShellMaster(RunMasterBase):

@defer.inlineCallbacks
def test_shell(self):
yield self.setupConfig(masterConfig())

# if you don't need change, you can just remove this change, and useChange parameter
change = dict(branch="master",
files=["foo.c"],
author="me@foo.com",
Expand All @@ -51,6 +51,9 @@ def masterConfig():
c['schedulers'] = [
schedulers.AnyBranchScheduler(
name="sched",
builderNames=["testy"]),
schedulers.ForceScheduler(
name="force",
builderNames=["testy"])]

f = BuildFactory()
Expand Down
3 changes: 1 addition & 2 deletions master/buildbot/test/integration/test_usePty.py
Expand Up @@ -23,8 +23,7 @@


# This integration test creates a master and worker environment,
# with one builders and a shellcommand step
# meant to be a template for integration steps
# with one builder and a shellcommand step, which use usePTY
class ShellMaster(RunMasterBase):

@skipUnlessPlatformIs('posix')
Expand Down

0 comments on commit 173ecaa

Please sign in to comment.