[Buildbot-commits] [Buildbot] #2521: Replace deprecated method unittest.TestCase.assert_() with newer assertEqual/NotEqual

Buildbot trac trac at buildbot.net
Sat Jul 6 14:45:06 UTC 2013


#2521: Replace deprecated method unittest.TestCase.assert_() with newer
assertEqual/NotEqual
------------------------+------------------------
Reporter:  rutsky       |       Owner:
    Type:  enhancement  |      Status:  new
Priority:  major        |   Milestone:  undecided
 Version:  0.8.7p1      |  Resolution:
Keywords:  tests        |
------------------------+------------------------

Comment (by dustin):

 Ah, great.  I assume a simple replacement with `failUnless` would be a
 good start, followed by using `assertEqual` or the like where the
 assertion condition is a comparison operator.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2521#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list