[Buildbot-commits] buildbot/buildbot/test test__versions.py,NONE,1.1

Brian Warner warner at users.sourceforge.net
Sun May 21 23:12:49 UTC 2006


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19282/buildbot/test

Added Files:
	test__versions.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-555
Creator:  Brian Warner <warner at lothar.com>

add a pseudo-testcase to record versions of twisted/python/buildbot

	* buildbot/test/test__versions.py: add a pseudo-test to record
	what version of Twisted/Python/Buildbot are running. This should
	show up at the beginning of _trial_tmp/test.log, and exists to help
	debug other problems.


--- NEW FILE: test__versions.py ---

# This is a fake test which just logs the version of Twisted, to make it
# easier to track down failures in other tests.

from twisted.trial import unittest
from twisted.python import log
from twisted import copyright
import sys
import buildbot

class Versions(unittest.TestCase):
    def test_versions(self):
        log.msg("Python Version: %s" % sys.version)
        log.msg("Twisted Version: %s" % copyright.version)
        log.msg("Buildbot Version: %s" % buildbot.version)






More information about the Commits mailing list