diff options
| author | guowenzheng <[email protected]> | 2024-11-27 19:38:16 +0800 |
|---|---|---|
| committer | guowenzheng <[email protected]> | 2024-11-27 19:38:16 +0800 |
| commit | 99600951e60e7558c1089a2fc504a66b11ccd45c (patch) | |
| tree | d91bb83589b713b262bba09ed798df9727674419 /cases/object/test_intervals.py | |
| parent | a75f5d2125fc403381e5f583551751c0da4d2d24 (diff) | |
Diffstat (limited to 'cases/object/test_intervals.py')
| -rw-r--r-- | cases/object/test_intervals.py | 149 |
1 files changed, 65 insertions, 84 deletions
diff --git a/cases/object/test_intervals.py b/cases/object/test_intervals.py index 8a2aac51..d8a109e6 100644 --- a/cases/object/test_intervals.py +++ b/cases/object/test_intervals.py @@ -200,48 +200,48 @@ class TestIntervals: @pytest.mark.parametrize("data", [ - # { - # "ids": "创建accObject并查看验证Total |T017", - # "Model": "create", - # "Type": 0, - # "Name": "", - # "Search type": "", - # "Items": [ - # "[4,54]->", - # ], - # "Description": "", - # "Subordinate Objects": [], - # "SubType": "cancel_export", - # "multi_type": " ", - # }, - # { - # "ids": "创建accObject并查看验证Total |T017", - # "Model": "create", - # "Type": 0, - # "Name": "", - # "Search type": "", - # "Items": [ - # "[4,54]->", - # ], - # "Description": "", - # "Subordinate Objects": [], - # "SubType": "multi_export", - # "multi_type": "all", - # }, - # { - # "ids": "创建accObject并查看验证Total |T017", - # "Model": "create", - # "Type": 0, - # "Name": "", - # "Search type": "", - # "Items": [ - # "[4,54]->", - # ], - # "Description": "", - # "Subordinate Objects": [], - # "SubType": "multi_export", - # "multi_type": "part", - # }, + { + "ids": "创建accObject并查看验证Total |T017", + "Model": "create", + "Type": 0, + "Name": "", + "Search type": "", + "Items": [ + "[4,54]->", + ], + "Description": "", + "Subordinate Objects": [], + "SubType": "cancel_export", + "multi_type": " ", + }, + { + "ids": "创建accObject并查看验证Total |T017", + "Model": "create", + "Type": 0, + "Name": "", + "Search type": "", + "Items": [ + "[4,54]->", + ], + "Description": "", + "Subordinate Objects": [], + "SubType": "multi_export", + "multi_type": "all", + }, + { + "ids": "创建accObject并查看验证Total |T017", + "Model": "create", + "Type": 0, + "Name": "", + "Search type": "", + "Items": [ + "[4,54]->", + ], + "Description": "", + "Subordinate Objects": [], + "SubType": "multi_export", + "multi_type": "part", + }, { "ids": "创建interval_Group--test_View_statistics_case", "Model": "create", @@ -354,48 +354,29 @@ class TestIntervals: # inter = Intervals(demo_fixture) # inter._clear_counter(data) - # @pytest.mark.parametrize("data", [ - # { - # "ids": "创建interval_Objec--test_View_statistics_case", - # "Model": "create", - # "Type": 0, - # "Search type": "", - # "Name": "", - # "Object Statistics": "Elaborate", - # "Items": [ - # "[1,1]->", - # "[11,21]->", - # "[random]->" - # ], - # "Description": "", - # "Subordinate Objects": { - # "subName": "", - # "subItems": [ - # ], - # "subDescription": "" - # } - # }, - # { - # "ids": "创建interval_Group--test_View_statistics_case", - # "Model": "create", - # "Type": 1, - # "Search type": "Name", - # "Name": "test-account group", - # "Items": [ - # ], - # "Description": "", - # "Subordinate Objects": { - # "subName": "", - # "subItems": [ - # "[1,999]->" - # ], - # "subDescription": "" - # } - # }, - # ]) - # def test_view_statistics_case(self, demo_fixture, data): - # inter = Intervals(demo_fixture) - # inter._view_statistics_case(data) + @pytest.mark.parametrize("data", [ + { + "ids": "创建interval_Objec--test_View_statistics_case", + "Model": "create", + "Type": 0, + "Search type": "", + "Name": "", + "Object Statistics": "Elaborate", + "Items": [ + "[1,1]->", + ], + "Description": "", + "Subordinate Objects": { + "subName": "", + "subItems": [ + ], + "subDescription": "" + } + }, + ]) + def test_view_statistics_case(self, demo_fixture, data): + inter = Intervals(demo_fixture) + inter._view_statistics_case(data) @pytest.mark.parametrize("data", [ { |
