def test_username(self):
        self.assertEqual(self.tp.username('guy'), 'guy')
        self.tp.lis_person_name_full = 'full'
        self.assertEqual(self.tp.username('guy'), 'full')
        self.tp.lis_person_name_family = 'family'
        self.assertEqual(self.tp.username('guy'), 'family')
        self.tp.lis_person_name_given = 'given'
        self.assertEqual(self.tp.username('guy'), 'given')
Should find the best username.
dataset/ETHPy150Open tophatmonocle/ims_lti_py/tests/tool_provider_tests.py/TestToolProvider.test_username