'Test whether we should check a tracker or not'

@blocking_call_on_reactor_thread
def test_should_check_tracker(self):

    self.assertTrue(self.tracker_manager.should_check_tracker('http://nonexisting.com'))
    self.tracker_manager.add_tracker('http://test1.com:80/announce')
    self.tracker_manager.update_tracker_info('http://test1.com/announce', False)
    self.assertFalse(self.tracker_manager.should_check_tracker('http://test1.com/announce'))
