TST: restore Ticket testcase coverage to 100% after addition of exception test in Ticket.__eq__

This commit is contained in:
Daniel Black 2013-12-26 10:13:14 +00:00
parent 37ab4147d1
commit ec31e6a702

View file

@ -100,6 +100,7 @@ class AddFailure(unittest.TestCase):
self.assertEqual(
ticket_repr,
'FailTicket: ip=193.168.0.128 time=1167605999.0 #attempts=5 matches=[]')
self.assertFalse(ticket == False)
# and some get/set-ers otherwise not tested
ticket.setTime(1000002000.0)
self.assertEqual(ticket.getTime(), 1000002000.0)