Skip to content

Commit

Permalink
tests: cluster typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Jan 28, 2025
1 parent 4f95fa6 commit 7866d5b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/integration/test_rest_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ async def _assert_db_scanrequests_coll(
classifiers=post_scan_body["classifiers"],
#
# cluster (condor) config
request_clusters=list([k, v] for k, v in post_scan_body["cluster"].items()),
request_clusters=(
list([k, v] for k, v in post_scan_body["cluster"].items())
if isinstance(post_scan_body["cluster"], dict)
else post_scan_body["cluster"]
),
worker_memory_bytes=humanfriendly.parse_size("8GB"),
worker_disk_bytes=humanfriendly.parse_size("1GB"),
max_pixel_reco_time=post_scan_body["max_pixel_reco_time"],
Expand Down

0 comments on commit 7866d5b

Please sign in to comment.