.............................................F......................................
======================================================================
FAIL: testEmptyIndexes (test.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "modules/org/openteacher/lessonTypes/test/test.py", line 48, in testEmptyIndexes
lessonType.start()
File "modules/org/openteacher/lessonTypes/interval/interval.py", line 72, in start
self._sendNext()
File "modules/org/openteacher/lessonTypes/interval/interval.py", line 164, in _sendNext
self.newItem.send(self._modifyItem(item))
File "modules/org/openteacher/event/event.py", line 35, in send
handler(*args, **kwargs)
File "modules/org/openteacher/lessonTypes/test/test.py", line 44, in newItem
self.assertTrue(False, msg="newItem should not be called when an empty indexes list is passed.")
AssertionError: False is not True : newItem should not be called when an empty indexes list is passed.
----------------------------------------------------------------------
Ran 84 tests in 0.346s
Test case added:
....... ....... ....... ....... ....... ....... ...F... ....... ....... ....... ....... ....... ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- org/openteacher /lessonTypes/ test/test. py", line 48, in testEmptyIndexes start() org/openteacher /lessonTypes/ interval/ interval. py", line 72, in start _sendNext( ) org/openteacher /lessonTypes/ interval/ interval. py", line 164, in _sendNext newItem. send(self. _modifyItem( item)) org/openteacher /event/ event.py" , line 35, in send org/openteacher /lessonTypes/ test/test. py", line 44, in newItem assertTrue( False, msg="newItem should not be called when an empty indexes list is passed.")
=======
FAIL: testEmptyIndexes (test.TestCase)
-------
Traceback (most recent call last):
File "modules/
lessonType.
File "modules/
self.
File "modules/
self.
File "modules/
handler(*args, **kwargs)
File "modules/
self.
AssertionError: False is not True : newItem should not be called when an empty indexes list is passed.
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 84 tests in 0.346s
FAILED (failures=1)