diff options
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", [ { |
