[Buildbot-commits] [buildbot/buildbot] c4a40d: unit test config.ConfigErrors.__str__() method

GitHub noreply at github.com
Fri Mar 15 22:35:47 UTC 2013


  Branch: refs/heads/nine
  Home:   https://github.com/buildbot/buildbot
  Commit: c4a40d30240bdc9f1237ac9ba0083d69dc9ffdf1
      https://github.com/buildbot/buildbot/commit/c4a40d30240bdc9f1237ac9ba0083d69dc9ffdf1
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  unit test config.ConfigErrors.__str__() method

Added unit test on config.ConfigErrors.__str__() method


  Commit: 1beffde8ee4f703023529adbcba692fc08743818
      https://github.com/buildbot/buildbot/commit/1beffde8ee4f703023529adbcba692fc08743818
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  unit test configure file open error in MasterConfig.loadConfig()

Added a unit test that simulates IOError when opening configure file in
config.MasterConfig.loadConfig(). Check that the expected ConfigErrors
exception is rised.


  Commit: 7cc54916bdfb792e83bb4884ed1271bdc7d9eea7
      https://github.com/buildbot/buildbot/commit/7cc54916bdfb792e83bb4884ed1271bdc7d9eea7
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M master/buildbot/config.py

  Log Message:
  -----------
  removed unreachable code in config.MasterConfig.loadConfig()

The call to error() with global _errors set to None, will raise
an exception. Thus following 'raise errors' is never reached.


  Commit: 31b3c1e39fa377e607a5f38ebeeb21bfc50811cc
      https://github.com/buildbot/buildbot/commit/31b3c1e39fa377e607a5f38ebeeb21bfc50811cc
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  unit test on loading 'codebaseGenerator' master parameter

Added unit tests on code in buildbot.config.MasterConfig.load_global()
that loads 'codebaseGenerator' master configuration parameter. Test
both loading correct parameter and invalid.


  Commit: ba0529e179af616f6927189fba579b2476188280
      https://github.com/buildbot/buildbot/commit/ba0529e179af616f6927189fba579b2476188280
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  unit test error paths in MasterConfig.load_status()

Test that invalid 'status' option in master config file is
handled properly.


  Commit: 628eaee6c5cfc4ab83972e7fd59fb22c8acb586f
      https://github.com/buildbot/buildbot/commit/628eaee6c5cfc4ab83972e7fd59fb22c8acb586f
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  unit test error paths in BuilderConfig.__init__()

Test that invalid nextSlave, nextBuild, canStartBuild and
env arguments to BuilderConfig constructor are handled properly.


  Commit: d54df6145022389562ac85054fe2590f61c9f4ab
      https://github.com/buildbot/buildbot/commit/d54df6145022389562ac85054fe2590f61c9f4ab
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  updated buildbot.config.MasterConfig.check_locks() unit tests

Updated unit tests of buildbot.config.MasterConfig.check_locks()
method to use lock objects wrapped inside LockAccess objects.
Nowadays this is the recommended style of specifying locks in the
documentation.

Add one new unit test to check that using 'bare' lock objects still
works.


  Commit: 130bbad600dfcd65d9599bb8ab325b3a5381abaf
      https://github.com/buildbot/buildbot/commit/130bbad600dfcd65d9599bb8ab325b3a5381abaf
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-08 (Fri, 08 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  use self.patch() to override open() in unit test

Using TestCase.patch() method to override buildin open() in a unit test is
much cleaner.


  Commit: acfa823027400c8e5732242f6fc2d4d4778ce86b
      https://github.com/buildbot/buildbot/commit/acfa823027400c8e5732242f6fc2d4d4778ce86b
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M master/buildbot/config.py
    M master/buildbot/test/unit/test_config.py

  Log Message:
  -----------
  Merge branch 'config-unit-tests' of git://github.com/elmirjagudin/buildbot


  Commit: ede1de82c209e4b924f0a1d594371016a3879876
      https://github.com/buildbot/buildbot/commit/ede1de82c209e4b924f0a1d594371016a3879876
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-11 (Mon, 11 Mar 2013)

  Changed paths:
    M master/contrib/post_build_request.py

  Log Message:
  -----------
  fix typo


  Commit: e8d2d3927ef71a1b972d8e28e38e1c7f30906478
      https://github.com/buildbot/buildbot/commit/e8d2d3927ef71a1b972d8e28e38e1c7f30906478
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-12 (Tue, 12 Mar 2013)

  Changed paths:
    M master/buildbot/db/pool.py

  Log Message:
  -----------
  don't try to detect bug1810 more than once


  Commit: 9ecd9bac3e4da47aed0ff73879b700882a242ac2
      https://github.com/buildbot/buildbot/commit/9ecd9bac3e4da47aed0ff73879b700882a242ac2
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-12 (Tue, 12 Mar 2013)

  Changed paths:
    M master/buildbot/status/logfile.py
    M master/buildbot/test/unit/test_scripts_start.py

  Log Message:
  -----------
  fix pyflakes


  Commit: babdbe970477b12d8e2070801cbf3407c33e686e
      https://github.com/buildbot/buildbot/commit/babdbe970477b12d8e2070801cbf3407c33e686e
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-12 (Tue, 12 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_scripts_start.py

  Log Message:
  -----------
  correct fix for pyflakes


  Commit: 7fd588dbf7c215364cb348527eda3873d608d222
      https://github.com/buildbot/buildbot/commit/7fd588dbf7c215364cb348527eda3873d608d222
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2013-03-13 (Wed, 13 Mar 2013)

  Changed paths:
    M slave/buildslave/scripts/runner.py
    A slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  check if valid base dir on 'buildslave upgrade-slave'

Check if we got a valid slave base dir on 'buildslave upgrade-slave'
cli command. If not, print error message and exit.


  Commit: d73475e1ef6baa443b272afaa04396f39c3d0042
      https://github.com/buildbot/buildbot/commit/d73475e1ef6baa443b272afaa04396f39c3d0042
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-13 (Wed, 13 Mar 2013)

  Changed paths:
    M slave/buildslave/scripts/runner.py
    A slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  Merge branch 'upgrade-slave-chk-basedir' of git://github.com/elmirjagudin/buildbot


  Commit: dce6945d9b5d9d409a559b3e8a6134a896cb9318
      https://github.com/buildbot/buildbot/commit/dce6945d9b5d9d409a559b3e8a6134a896cb9318
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-13 (Wed, 13 Mar 2013)

  Changed paths:
    M MAINTAINERS.txt

  Log Message:
  -----------
  add Pierre to MAINTAINERS.txt


  Commit: 094ec10056019feebc243de9fa95d0d402398e7e
      https://github.com/buildbot/buildbot/commit/094ec10056019feebc243de9fa95d0d402398e7e
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-13 (Wed, 13 Mar 2013)

  Changed paths:
    M master/docs/index.rst

  Log Message:
  -----------
  Include docs under GPLv2.

Fixes #2470.  The docs were previously under an unspecified
free-with-copyright clause, which appears to allow such relicensing.
Anyway, Warner is OK with the change.


  Commit: 50aa4364c5462c2e4369ff3ddbf43e4eded42020
      https://github.com/buildbot/buildbot/commit/50aa4364c5462c2e4369ff3ddbf43e4eded42020
  Author: Aleksey Vasenev <margtu-fivt at ya.ru>
  Date:   2013-03-14 (Thu, 14 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_status_web_auth_HTPasswdAprAuth.py
    M master/buildbot/test/unit/test_status_web_auth_HTPasswdAuth.py
    M master/buildbot/test/unit/test_steps_source_bzr.py
    M master/buildbot/test/unit/test_steps_source_repo.py

  Log Message:
  -----------
  Tests on windows was fixed


  Commit: a70cc78e88d1712497d60c825e048e685c7506b1
      https://github.com/buildbot/buildbot/commit/a70cc78e88d1712497d60c825e048e685c7506b1
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_status_web_auth_HTPasswdAprAuth.py
    M master/buildbot/test/unit/test_status_web_auth_HTPasswdAuth.py
    M master/buildbot/test/unit/test_steps_source_bzr.py
    M master/buildbot/test/unit/test_steps_source_repo.py

  Log Message:
  -----------
  Merge branch 'tests_fix' of git://github.com/Ratio2/buildbot


  Commit: 8ff8f310a23c56cd687c22177a957a2cf5833ae0
      https://github.com/buildbot/buildbot/commit/8ff8f310a23c56cd687c22177a957a2cf5833ae0
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M MAINTAINERS.txt
    M master/buildbot/config.py
    M master/buildbot/db/pool.py
    M master/buildbot/status/logfile.py
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_config.py
    M master/buildbot/test/unit/test_scripts_start.py
    M master/buildbot/test/unit/test_status_web_auth_HTPasswdAprAuth.py
    M master/buildbot/test/unit/test_status_web_auth_HTPasswdAuth.py
    M master/buildbot/test/unit/test_steps_source_bzr.py
    M master/buildbot/test/unit/test_steps_source_repo.py
    M master/contrib/post_build_request.py
    M master/docs/index.rst
    M slave/buildslave/scripts/runner.py
    A slave/buildslave/test/unit/test_scripts_runner.py

  Log Message:
  -----------
  Merge branch 'master' into nine


Compare: https://github.com/buildbot/buildbot/compare/627fab663834...8ff8f310a23c


More information about the Commits mailing list