Esempio n. 1
0
def test_get_full_name_success():
    full_name = get_full_name('Homer', 'John', 'Simpson')

    assert full_name == 'Homer John Simpson'
Esempio n. 2
0
def test_get_full_name_success_one_name():
    full_name = get_full_name('Madonna', None, None)
    assert full_name == "Madonna"
Esempio n. 3
0
def test_get_full_name_success_family_is_a_num():
    full_name = get_full_name('Marge', 'Simpson', 3)
    assert full_name == 'Marge Simpson 3'
Esempio n. 4
0
def test_get_full_name_success_quote():
    full_name = get_full_name('Marge', None, "O'Riley")
    assert full_name == "Marge O'Riley"
Esempio n. 5
0
def test_get_full_name_success_2():
    full_name = get_full_name('Marge', 'Jane', 'Simpson')

    assert full_name == 'Marge Jane Simpson'