Author: David Schneider <[email protected]>
Branch: buildbot-0.8.7
Changeset: r826:d0caac6ed8bf
Date: 2013-06-15 13:36 +0200
http://bitbucket.org/pypy/buildbot/changeset/d0caac6ed8bf/
Log: use got_revision here
diff --git a/bot2/pypybuildbot/test/test_builds.py
b/bot2/pypybuildbot/test/test_builds.py
--- a/bot2/pypybuildbot/test/test_builds.py
+++ b/bot2/pypybuildbot/test/test_builds.py
@@ -62,7 +62,7 @@
def test_pypy_upload():
pth = py.test.ensuretemp('buildbot')
inst = builds.PyPyUpload(slavesrc='slavesrc',
masterdest=str(pth.join('mstr')),
- basename='base-%(final_file_name)s', workdir='.',
+ basename='base-%(got_revision)s', workdir='.',
blocksize=100)
factory = inst._getStepFactory().factory
kw = inst._getStepFactory().kwargs
@@ -73,7 +73,7 @@
rebuilt.start()
assert pth.join('mstr').check(dir=True)
assert rebuilt.masterdest == str(pth.join('mstr', 'trunk',
- 'base-123-ea5ca8'))
+ 'base-123'))
assert rebuilt.symlinkname == str(pth.join('mstr', 'trunk',
'base-latest'))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit