def test_check_invalid_characters_in_IATA_code(app):
    app.session.enter_login(username='test')
    app.session.enter_password(password='1245')
    app.airport.open_form_add_airport()
    app.airport.enter_IATA_code(iata_cod='!№;%:?*')
    app.airport.wait_massege_no_airport()
    app.airport.exit_from_the_add_airport_form()
    app.session.logout()
def test_check_invalid_characters_in_IATA_code(app):
    app.session.enter_login(username='test')
    app.session.enter_password(password='1245')
    app.airport.open_form_add_airport()
    app.airport.enter_IATA_code(iata_cod='!№;%:?*')
    app.airport.wait_massege_no_airport()
    app.airport.exit_from_the_add_airport_form()
    app.session.logout()