Skip to content

Commit

Permalink
Adjust bounds in bisecting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eyvorchuk committed Jun 26, 2024
1 parent 162a707 commit 1d3459c
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions tests/test_requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ def test_build_all_targets_local(filepath, expected):
1,
),
(
"tasmin[0:1:15000][0:1:91][0:1:206]",
"tasmin[0:1:12000][0:1:91][0:1:206]",
2,
),
(
"tasmin[0:1:30000][0:1:91][0:1:206]",
"tasmin[0:1:24000][0:1:91][0:1:206]",
4,
),
],
Expand Down Expand Up @@ -236,38 +236,38 @@ def test_bisect_request(filepath, targets, expected):
("targets", "expected"),
[
(
"time[0:1:7500],tasmin[0:1:7500][0:1:91][0:1:206]",
"time[0:1:6000],tasmin[0:1:6000][0:1:91][0:1:206]",
[
"time[0:1:7500],tasmin[0:1:7500][0:1:91][0:1:206]",
"time[0:1:6000],tasmin[0:1:6000][0:1:91][0:1:206]",
],
),
(
"time[0:1:15000],tasmin[0:1:15000][0:1:91][0:1:206]",
"time[0:1:12000],tasmin[0:1:12000][0:1:91][0:1:206]",
[
"time[0:1:7500],tasmin[0:1:7500][0:1:91][0:1:206]",
"time[7501:1:15000],tasmin[7501:1:15000][0:1:91][0:1:206]",
"time[0:1:6000],tasmin[0:1:6000][0:1:91][0:1:206]",
"time[6001:1:12000],tasmin[6001:1:12000][0:1:91][0:1:206]",
],
),
(
"time[0:1:30000],tasmin[0:1:30000][0:1:91][0:1:206]",
"time[0:1:24000],tasmin[0:1:24000][0:1:91][0:1:206]",
[
"time[0:1:7500],tasmin[0:1:7500][0:1:91][0:1:206]",
"time[7501:1:15000],tasmin[7501:1:15000][0:1:91][0:1:206]",
"time[15001:1:22500],tasmin[15001:1:22500][0:1:91][0:1:206]",
"time[22501:1:30000],tasmin[22501:1:30000][0:1:91][0:1:206]",
"time[0:1:6000],tasmin[0:1:6000][0:1:91][0:1:206]",
"time[6001:1:12000],tasmin[6001:1:12000][0:1:91][0:1:206]",
"time[12001:1:18000],tasmin[12001:1:18000][0:1:91][0:1:206]",
"time[18001:1:24000],tasmin[18001:1:24000][0:1:91][0:1:206]",
],
),
(
"time[0:1:50000],tasmin[0:1:50000][0:1:100][0:1:300]",
"time[0:1:48000],tasmin[0:1:48000][0:1:91][0:1:206]",
[
"time[0:1:6250],tasmin[0:1:6250][0:1:100][0:1:300]",
"time[6251:1:12500],tasmin[6251:1:12500][0:1:100][0:1:300]",
"time[12501:1:18750],tasmin[12501:1:18750][0:1:100][0:1:300]",
"time[18751:1:25000],tasmin[18751:1:25000][0:1:100][0:1:300]",
"time[25001:1:31250],tasmin[25001:1:31250][0:1:100][0:1:300]",
"time[31251:1:37500],tasmin[31251:1:37500][0:1:100][0:1:300]",
"time[37501:1:43750],tasmin[37501:1:43750][0:1:100][0:1:300]",
"time[43751:1:50000],tasmin[43751:1:50000][0:1:100][0:1:300]",
"time[0:1:6000],tasmin[0:1:6000][0:1:91][0:1:206]",
"time[6001:1:12000],tasmin[6001:1:12000][0:1:91][0:1:206]",
"time[12001:1:18000],tasmin[12001:1:18000][0:1:91][0:1:206]",
"time[18001:1:24000],tasmin[18001:1:24000][0:1:91][0:1:206]",
"time[24001:1:30000],tasmin[24001:1:30000][0:1:91][0:1:206]",
"time[30001:1:36000],tasmin[30001:1:36000][0:1:91][0:1:206]",
"time[36001:1:42000],tasmin[36001:1:42000][0:1:91][0:1:206]",
"time[42001:1:48000],tasmin[42001:1:48000][0:1:91][0:1:206]",
],
),
],
Expand Down

0 comments on commit 1d3459c

Please sign in to comment.