Skip to content

Commit a135e42

Browse files
continue fixing
1 parent e0db4a9 commit a135e42

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

services/web/server/tests/unit/with_dbs/03/resource_usage/test_usage_services__list.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
"started_at": "2023-08-26T14:18:17.600493+00:00",
4646
"stopped_at": "2023-08-26T14:18:19.358355+00:00",
4747
"service_run_status": "SUCCESS",
48+
"credit_cost": None,
49+
"transaction_status": None
4850
}
4951
)
5052
],

services/web/server/tests/unit/with_dbs/03/test_storage_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _resolve(*args, **kwargs) -> AnyUrl:
6969

7070

7171
MOCK_FILE_UPLOAD_SCHEMA = FileUploadSchema(
72-
chunk_size=ByteSize("5GiB"),
72+
chunk_size=TypeAdapter(ByteSize).validate_python("5GiB"),
7373
urls=[TypeAdapter(AnyUrl).validate_python("s3://file_id")],
7474
links=FileUploadLinks(
7575
abort_upload=TypeAdapter(AnyUrl).validate_python(

0 commit comments

Comments
 (0)