[pypy-svn] r60733 - pypy/build/bot2/pypybuildbot/test

pedronis at codespeak.net pedronis at codespeak.net
Mon Dec 29 20:19:01 CET 2008


Author: pedronis
Date: Mon Dec 29 20:19:01 2008
New Revision: 60733

Modified:
   pypy/build/bot2/pypybuildbot/test/test_summary.py
Log:
this was wanted though, oops^2

Modified: pypy/build/bot2/pypybuildbot/test/test_summary.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/test/test_summary.py	(original)
+++ pypy/build/bot2/pypybuildbot/test/test_summary.py	Mon Dec 29 20:19:01 2008
@@ -379,26 +379,6 @@
         assert outcome.revision == 60000
         assert outcome.key == ('builder0', 1)
 
-    def test_two_builds(self):
-        builder = status_builder.BuilderStatus('builder0')
-        add_builds(builder, [(60000, ". a"),
-                             (60001, ". a")])
-
-        s = summary.Summary()
-        res = witness_branches(s)        
-        req = FakeRequest([builder])
-        s.body(req)
-        branches = res()
-
-        revs = branches[None][0]
-        assert sorted(revs.keys()) == [60000, 60001]        
-        outcome = revs[60000]['builder0']
-        assert outcome.revision == 60000
-        assert outcome.key == ('builder0', 0)
-        outcome = revs[60001]['builder0']
-        assert outcome.revision == 60001
-        assert outcome.key == ('builder0', 1)        
-
     def test_two_builds_recentrev(self):
         builder = status_builder.BuilderStatus('builder0')
         add_builds(builder, [(60000, ". a"),



More information about the Pypy-commit mailing list