python/tests/gensec: make it possible to add knownfail tests for gensec.update()