'Test various methods in the DHT session class'

def test_methods(self):

    self.assertTrue(self.dht_session.can_add_request())
    self.dht_session.add_infohash(('b' * 20))
    self.assertEqual(self.dht_session.infohash, ('b' * 20))
    self.assertEqual(self.dht_session.max_retries, DHT_TRACKER_MAX_RETRIES)
    self.assertEqual(self.dht_session.retry_interval, DHT_TRACKER_RECHECK_INTERVAL)
    self.assertGreater(self.dht_session.last_contact, 0)
