'Testing whether a tftp session is correctly cleaned up'

def test_cleanup_session(self):

    self.handler._session_id_dict['c'] = 1
    self.handler._session_dict = {'abc': 'test'}
    self.handler._cleanup_session('abc')
    self.assertFalse(('c' in self.handler._session_id_dict))
