This does not solve the underlying problem of the rapi test not
being runnable locally, but it makes it at least configurable
to avoid having to patch in/out all the time.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
SetupCluster(rapi_user, rapi_secret)
# Load RAPI certificate
- qa_rapi.Setup(rapi_user, rapi_secret)
+ if qa_config.get("rapi"):
+ qa_rapi.Setup(rapi_user, rapi_secret)
RunClusterTests()
RunOsTests()