def METHOD_NAME(self, client, host):
    with client.flashes_message("Interface.*erstellt", category="success"):
        client.assert_url_redirects(
            url_for("host.interface_create", host_id=host.id),
            method="POST",
            data={"mac": "00:11:22:33:44:55", "name": "new name"},
        )