def METHOD_NAME(self):
    user = db_utils.create_user()
    links = [
        {
            'userid': user,
            'link_type': 'Twitter',
            'link_value': 'Weasyl',
        },
        {
            'userid': user,
            'link_type': 'Email',
            'link_value': 'mailto:sysop@weasyl.com',
        },
        {
            'userid': user,
            'link_type': 'Twitter',
            'link_value': 'WeasylDev',
        }
    ]
    d.engine.execute(d.meta.tables['user_links'].insert().values(links))
    test_user_profile = profile.select_manage(user)
    self.assertEqual(test_user_profile['sorted_user_links'], [
        ('Email', ['mailto:sysop@weasyl.com']),
        ('Twitter', ['Weasyl', 'WeasylDev']),
    ])