Skip to content

Commit

Permalink
require a mock-0.8.0 for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Apr 28, 2012
1 parent 61a1c9d commit d9221d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions master/buildbot/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
print >>sys.stderr, ("\nBuildbot tests require the 'mock' module; "
"try 'pip install mock'")
os._exit(1)

if mock.__version__.split('.')[:2] < (0, 8):
print >>sys.stderr, ("\nBuildbot tests require mock version 0.8.0 or "
"higher; try 'pip install -U mock'")
os._exit(1)
2 changes: 2 additions & 0 deletions master/docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Nine
..
For the mo ment, release notes for the nine branch go here, for ease of merging.
* Buildbot's tests now require at least Mock-0.8.0.

Master
++++++

Expand Down

0 comments on commit d9221d7

Please sign in to comment.