File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2763,23 +2763,19 @@ def test_workspace_requests(mc2: MerginClient):
2763
2763
project_info = mc2 .project_info (test_project_fullname )
2764
2764
ws_id = project_info .get ("workspace_id" )
2765
2765
2766
- usage = mc2 .workspace_usage (ws_id )
2766
+ usage = mc2 .workspace_usage (ws_id )
2767
2767
# Check type and common value
2768
2768
assert type (usage ) == dict
2769
2769
assert usage ["api" ]["allowed" ] == True
2770
2770
assert usage ["history" ]["quota" ] == 214748364800
2771
2771
assert usage ["history" ]["usage" ] == 0
2772
2772
2773
- service = mc2 .workspace_service (ws_id )
2773
+ service = mc2 .workspace_service (ws_id )
2774
2774
# Check type and common value
2775
2775
assert type (service ) == dict
2776
2776
assert service ["action_required" ] == False
2777
2777
assert service ["plan" ]
2778
2778
assert service ["plan" ]["is_paid_plan" ] == False
2779
2779
assert service ["plan" ]["product_id" ] == None
2780
- assert service ["plan" ]["type" ] == ' custom'
2780
+ assert service ["plan" ]["type" ] == " custom"
2781
2781
assert service ["subscription" ] == None
2782
-
2783
-
2784
-
2785
-
You can’t perform that action at this time.
0 commit comments