various: reuse HTTP client; eliminate intermediate string allocations; add tests
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I18b89e1aae78a400a89c9d89423ce1da6a6a6964
This commit is contained in:
parent
38ed7faee2
commit
f7081317ee
9 changed files with 245 additions and 96 deletions
|
|
@ -93,7 +93,7 @@ async fn create_test_build(
|
|||
.expect("create build")
|
||||
}
|
||||
|
||||
// ---- Existing tests ----
|
||||
// CRUD and lifecycle tests
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_project_crud() {
|
||||
|
|
@ -416,7 +416,7 @@ async fn test_not_found_errors() {
|
|||
));
|
||||
}
|
||||
|
||||
// ---- New hardening tests ----
|
||||
// Batch operations and edge cases
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_batch_get_completed_by_drv_paths() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue