[pypy-svn] buildbot default: some code cleanups
RonnyPfannschmidt
commits-noreply at bitbucket.org
Wed Apr 20 15:53:37 CEST 2011
Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch:
Changeset: r469:997da8eeb7e0
Date: 2011-04-19 20:19 +0200
http://bitbucket.org/pypy/buildbot/changeset/997da8eeb7e0/
Log: some code cleanups
diff --git a/bitbucket_hook/test/test_hook.py b/bitbucket_hook/test/test_hook.py
--- a/bitbucket_hook/test/test_hook.py
+++ b/bitbucket_hook/test/test_hook.py
@@ -142,7 +142,7 @@
monkeypatch.setattr(hook, 'Popen', mock)
monkeypatch.setattr(hook.subprocess, 'call', noop)
- handler.SMTP = mock
+ monkeypatch.setattr(hook, 'SMTP', mock)
handler.handle(test_payload)
handler.handle(test_payload, test=True)
More information about the Pypy-commit
mailing list