=== modified file 'integration-tests.d/lava-job-new-with-config.sh'
@@ -3,8 +3,8 @@
device_type = panda
[device_type=panda]
-prebuilt_image = file:///path/to/panda.img
+image = file:///path/to/panda.img
EOF
-LAVACONFIG="${tmpdir}/config" lava job new "${tmpdir}/job.json"
+LAVACONFIG="${tmpdir}/config" lava job new "${tmpdir}/job.json" -n
cat "${tmpdir}/job.json"
grep "device_type.*panda" "${tmpdir}/job.json" && grep "image.*path.to.panda.img" "${tmpdir}/job.json"
=== modified file 'integration-tests.d/lava-job-submit.sh'
@@ -8,5 +8,5 @@
rpc_endpoint = http://localhost:5000/ok
CONFIG
-lava job submit integration-tests.d/sample/nexus.json > $tmpdir/output
+lava job submit integration-tests.d/sample/nexus.json -n > $tmpdir/output
grep "Job submitted with job ID 999" $tmpdir/output
=== modified file 'integration-tests.d/lib/server.py'
@@ -1,5 +1,4 @@
import os
-import sys
import yaml
from flask import (
@@ -25,7 +24,7 @@
request.environ['werkzeug.server.shutdown']()
return ""
-@app.route('/<status_code>', methods=['GET', 'POST'])
+@app.route('/<status_code>/', methods=['GET', 'POST'])
def reply(status_code):
status = int(aliases.get(status_code, status_code))