@@ -87,7 +87,7 @@ def teardown():
8787 "limits_override" : {
8888 "storage" : client_workspace_storage ,
8989 "projects" : 1 ,
90- "monthly_contributors" : 500 ,
90+ "monthly_contributors" : 1000 ,
9191 "api_allowed" : True ,
9292 }
9393 },
@@ -2760,24 +2760,24 @@ def test_error_monthly_contributors_limit_hit(mcStorage: MerginClient):
27602760 assert e .value .url == f"{ mcStorage .url } v1/project/testpluginstorage"
27612761
27622762
2763- def test_dummy_mcStorage (mcStorage : MerginClient ):
2764- client_workspace = None
2765- for workspace in mcStorage .workspaces_list ():
2766- if workspace ["name" ] == STORAGE_WORKSPACE :
2767- client_workspace = workspace
2768- break
2769- client_workspace_id = client_workspace ["id" ]
2770- client_workspace_storage = client_workspace ["storage" ]
2763+ # def test_dummy_mcStorage(mcStorage: MerginClient):
2764+ # client_workspace = None
2765+ # for workspace in mcStorage.workspaces_list():
2766+ # if workspace["name"] == STORAGE_WORKSPACE:
2767+ # client_workspace = workspace
2768+ # break
2769+ # client_workspace_id = client_workspace["id"]
2770+ # client_workspace_storage = client_workspace["storage"]
27712771
2772- mcStorage .patch (
2773- f"/v1/tests/workspaces/{ client_workspace_id } " ,
2774- {
2775- "limits_override" : {
2776- "storage" : client_workspace_storage ,
2777- "projects" : 50 ,
2778- "monthly_contributors" : 1000 ,
2779- "api_allowed" : True ,
2780- }
2781- },
2782- {"Content-Type" : "application/json" },
2783- )
2772+ # mcStorage.patch(
2773+ # f"/v1/tests/workspaces/{client_workspace_id}",
2774+ # {
2775+ # "limits_override": {
2776+ # "storage": client_workspace_storage,
2777+ # "projects": 50,
2778+ # "monthly_contributors": 1000,
2779+ # "api_allowed": True,
2780+ # }
2781+ # },
2782+ # {"Content-Type": "application/json"},
2783+ # )
0 commit comments