def METHOD_NAME(self):
    username = self.user.username
    profiles = Profile.objects.filter(user=username)
    for profile in profiles:
        profile.delete()
    profile = Profile.objects.add_or_update(username, 'nickname',
                                            intro='hello', lang_code='ch',
                                            login_id=username,
                                            contact_email=username,
                                            institution='test')
    assert profile.nickname == 'nickname'
    assert profile.user == username
    assert profile.intro == 'hello'
    assert profile.lang_code == 'ch'
    assert profile.login_id == username
    assert profile.contact_email == username
    assert profile.institution == 'test'
    profile = Profile.objects.add_or_update(username, '')
    assert profile.nickname == ''
    profile = Profile.objects.add_or_update(username, intro='')
    assert profile.intro == ''
    profile = Profile.objects.add_or_update(username, lang_code='')
    assert profile.lang_code == ''
    profile = Profile.objects.add_or_update(username, login_id='')
    assert profile.login_id == ''
    profile = Profile.objects.add_or_update(username, contact_email='')
    assert profile.contact_email == ''