@@ -1707,7 +1707,6 @@ async def test_resource_pool_visibility_toggle(
17071707
17081708@pytest .mark .asyncio
17091709@pytest .mark .xdist_group ("sessions" )
1710-
17111710@pytest .mark .parametrize ("total_limit,user_limit" , [(1000 , 200 ), (200 , 1000 ), (200 , 0 ), (0 , 200 )])
17121711async def test_resource_pools_quota_with_partial_usage (
17131712 sanic_client ,
@@ -1860,6 +1859,7 @@ async def test_resource_pools_quota_with_no_usage(
18601859 # usage_hours_total should be 4 hours (200 credits total limit / 50 credits per hour)
18611860 assert resource_class ["usage_hours_total" ] == 4.0
18621861
1862+
18631863async def test_resource_pool_members_add_group (
18641864 sanic_client : SanicASGITestClient ,
18651865 admin_headers : dict [str , str ],
@@ -1916,10 +1916,8 @@ async def test_resource_pool_members_add_group(
19161916 assert member_1_user .id in user_ids
19171917
19181918
1919-
19201919@pytest .mark .asyncio
19211920@pytest .mark .xdist_group ("sessions" )
1922-
19231921async def test_resource_pools_quota_exceeded (
19241922 sanic_client : SanicASGITestClient ,
19251923 admin_headers : dict [str , str ],
@@ -2000,6 +1998,7 @@ async def test_resource_pools_quota_exceeded(
20001998 # usage_hours_total should be 2.0 hours (50 credits/hour * 2 hours = 100 credits limit)
20011999 assert resource_class ["usage_hours_total" ] == 2.0
20022000
2001+
20032002async def test_resource_pool_members_add_project (
20042003 sanic_client : SanicASGITestClient ,
20052004 admin_headers : dict [str , str ],
@@ -2056,10 +2055,8 @@ async def test_resource_pool_members_add_project(
20562055 assert member_1_user .id in user_ids
20572056
20582057
2059-
20602058@pytest .mark .asyncio
20612059@pytest .mark .xdist_group ("sessions" )
2062-
20632060async def test_resource_pools_quota_with_no_limits (
20642061 sanic_client : SanicASGITestClient ,
20652062 admin_headers : dict [str , str ],
@@ -2132,6 +2129,7 @@ async def test_resource_pools_quota_with_no_limits(
21322129 # usage_hours_total should not exist in the response since it's None
21332130 assert "usage_hours_total" not in resource_class
21342131
2132+
21352133async def test_resource_pool_members_put_replaces (
21362134 sanic_client : SanicASGITestClient ,
21372135 admin_headers : dict [str , str ],
@@ -2174,10 +2172,8 @@ async def test_resource_pool_members_put_replaces(
21742172 assert members [0 ]["id" ] == group2 ["id" ]
21752173
21762174
2177-
21782175@pytest .mark .asyncio
21792176@pytest .mark .xdist_group ("sessions" )
2180-
21812177async def test_resource_pools_quota_with_no_costs (
21822178 sanic_client : SanicASGITestClient ,
21832179 admin_headers : dict [str , str ],
@@ -2254,6 +2250,7 @@ async def test_resource_pools_quota_with_no_costs(
22542250 # usage_hours_total should not exist in the response since it's None
22552251 assert "usage_hours_total" not in resource_class
22562252
2253+
22572254async def test_resource_pool_members_delete (
22582255 sanic_client : SanicASGITestClient ,
22592256 admin_headers : dict [str , str ],
@@ -2931,4 +2928,3 @@ async def test_resource_pool_members_delete_nonexistent_project(
29312928 headers = admin_headers ,
29322929 )
29332930 assert res .status_code == 204
2934-
0 commit comments