'If C{when} argument is L{None}, we get the default output.'

def test_formatTimeWithNoTime(self):

    self.assertEqual(formatTime(None), u'-')
    self.assertEqual(formatTime(None, default=u'!'), u'!')
