Skip to content
Snippets Groups Projects
Commit f4f95bf4 authored by Henrik Triem's avatar Henrik Triem
Browse files

Add more amnz tests

parent 3e12fce1
No related branches found
No related tags found
No related merge requests found
Pipeline #22922 passed
......@@ -209,7 +209,7 @@ if not args.target:
if pair:
args.target = pair[0]
else:
raise StandardError, "Could not detect --target from %s, please specify!" % (args.target)
raise StandardError, "Could not detect --target from %s %s %s %s, please specify!" % (args.path, args.target, args.release, args.repo)
if not args.release:
if pair:
......@@ -269,7 +269,7 @@ for file in files:
if r.status_code == requests.codes.ok:
print "Upload successful: %s" % (file)
else:
raise StandardError, "Upload failed for %s - http status: %s %s - message:\n%s" % (upload_name, r.status_code, args.target, r.text[:30])
raise StandardError, "Upload failed for %s - http status: %s %s %s %s %s - message:\n%s" % (upload_name, r.status_code, args.path, args.target, args.release, args.repo, r.text[:30])
file_data = [('file', ('upload.json', json.dumps(upload_meta)))]
r = aptly_session().post(upload_url, files=file_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment