'Test that the user\'s full name is correctly subbed'

def test_name_sub(self):

    test_string = 'This    is    the    test    string.    subthis:    %%USER_FULLNAME%%    into    user    name'
    user_name = self.user.profile.name
    result = Ks.substitute_keywords_with_data(test_string, self.context)
    self.assertNotIn('%%USER_FULLNAME%%', result)
    self.assertIn(user_name, result)
