<filename>test/test_edit_contact_in_book_address.py
from model.contact import Contact

def test_edit_contact_in_book_address(app):
    app.session.edit_page_settings()
    app.contact.edit_contact_in_book_address(
        Contact(firstname="Justyna", middlename="", lastname="Nowik", nickname="JNowik",
                title_photo="zwierzęta", company="", address="Warszawa", home="Polska", mobile="99999999999",
                work="model", fax="9876678909", email="<EMAIL>", email2="<EMAIL>",
                email3="", homepage="", bday="5", bmonth="February", byear="2001",
                aday="26", amonth="October", ayear="2014", address2="", phone2="", notes="")
        )
    app.contact.return_to_groups_page()

<filename>test/test_edit_contact_in_book_address.py
from model.contact import Contact

def test_edit_contact_in_book_address(app):
    app.session.edit_page_settings()
    app.contact.edit_contact_in_book_address(
        Contact(firstname="Justyna", middlename="", lastname="Nowik", nickname="JNowik",
                title_photo="zwierzęta", company="", address="Warszawa", home="Polska", mobile="99999999999",
                work="model", fax="9876678909", email="<EMAIL>", email2="<EMAIL>",
                email3="", homepage="", bday="5", bmonth="February", byear="2001",
                aday="26", amonth="October", ayear="2014", address2="", phone2="", notes="")
        )
    app.contact.return_to_groups_page()
