diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/http.scm b/tests/http.scm index 1bcd056..f1d6e46 100644 --- a/tests/http.scm +++ b/tests/http.scm @@ -255,6 +255,13 @@ (test-cuirass-uri "/api/latestbuilds?nr=1&jobset=gnu"))))) + (test-equal "/api/latestbuilds?nr&jobset=gnu" + 500 + (response-code + (http-get + (test-cuirass-uri + "/api/latestbuilds?nr&jobset=gnu")))) + (test-equal "/api/queue?nr=100" `("fake-2.0" ,(build-status scheduled)) (match (json-string->scm |