def test_izolate_name_reg(reg_header): username, registered = Comment._izolate_username(reg_header) assert username == "manasekp" assert registered
def test_izolate_name(unreg_header): username, registered = Comment._izolate_username(unreg_header) assert username == "Tomáškova máma" assert not registered