All pastes #431292 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-09 15:53 UTC
rendered paste body
Running 22 tests.
test_batch
  BatchTestCase
    testBasicProgress ...                                                  [OK]
    testBrokenListener ...
./test_batch.py:233: exceptions.DeprecationWarning: log.flushErrors is deprecated since Twisted 2.5. If you need to flush errors from within a unittest, use TestCase.flushLoggedErrors instead.
                                              [FAIL]
    testInstantiation ...                                                  [OK]
    testItemTypeCreation ...                                               [OK]
    testListenerlessProcessor ...                                          [OK]
    testListeners ...                                                      [OK]
    testMultipleListeners ...                                              [OK]
    testProgressAgainstExisting ...                                        [OK]
    testRepeatedAddListener ...                                            [OK]
    testReprocessItemAddition ...                                          [OK]
    testSuperfluousItemAddition ...                                        [OK]
    test_addReliableListenerSchedulesProcessor ...                         [OK]
    test_addReliableListenerWhileScheduled ...                             [OK]
    test_itemAddedIgnoredWithoutListeners ...                              [OK]
    test_itemAddedSchedulesProcessor ...                                   [OK]
    test_itemAddedWhileScheduled ...                                       [OK]
    test_processorIdlesWhenCaughtUp ...                                    [OK]
    test_processorStartsUnscheduled ...                                    [OK]
  RemoteTestCase
    testBatchService ...                                                   [OK]
    testCalling ...                                                        [OK]
    testProcessLifetime ...                                                [OK]
    testProcessingServiceStepsOverErrors ...
./test_batch.py:607: exceptions.DeprecationWarning: log.flushErrors is deprecated since Twisted 2.5. If you need to flush errors from within a unittest, use TestCase.flushLoggedErrors instead.
                            [FAIL]

===============================================================================
[FAIL]: test_batch.BatchTestCase.testBrokenListener

Traceback (most recent call last):
  File "./test_batch.py", line 234, in testBrokenListener
    self.assertEquals(len(loggedErrors), 1)
twisted.trial.unittest.FailTest: 2 != 1
===============================================================================
[FAIL]: test_batch.RemoteTestCase.testProcessingServiceStepsOverErrors

Traceback (most recent call last):
  File "./test_batch.py", line 609, in testProcessingServiceStepsOverErrors
    BATCH_WORK_UNITS)
twisted.trial.unittest.FailTest: 6 != 3
-------------------------------------------------------------------------------
Ran 22 tests in 4.411s

FAILED (failures=2, successes=20)