@@ -130,7 +130,6 @@ class OrganizationGroupSearchViewsGetTest(BaseGSVTestCase):
130
130
131
131
@with_feature ({"organizations:issue-stream-custom-views" : True })
132
132
@with_feature ({"organizations:global-views" : True })
133
- @with_feature ({"organizations:issue-view-sharing" : True })
134
133
def test_get_user_one_custom_views (self ) -> None :
135
134
objs = self .create_base_data ()
136
135
@@ -164,7 +163,6 @@ def test_last_visited_exists_for_seen_views(self) -> None:
164
163
165
164
@with_feature ({"organizations:issue-stream-custom-views" : True })
166
165
@with_feature ({"organizations:global-views" : True })
167
- @with_feature ({"organizations:issue-view-sharing" : True })
168
166
def test_get_user_two_custom_views (self ) -> None :
169
167
objs = self .create_base_data ()
170
168
@@ -175,7 +173,6 @@ def test_get_user_two_custom_views(self) -> None:
175
173
176
174
@with_feature ({"organizations:issue-stream-custom-views" : True })
177
175
@with_feature ({"organizations:global-views" : True })
178
- @with_feature ({"organizations:issue-view-sharing" : True })
179
176
def test_get_default_views (self ) -> None :
180
177
self .create_base_data ()
181
178
@@ -192,7 +189,6 @@ def test_get_default_views(self) -> None:
192
189
193
190
@with_feature ({"organizations:issue-stream-custom-views" : True })
194
191
@with_feature ({"organizations:global-views" : True })
195
- @with_feature ({"organizations:issue-view-sharing" : True })
196
192
def test_get_views_has_correct_default_page_filters (self ) -> None :
197
193
self .create_base_data ()
198
194
@@ -219,7 +215,6 @@ def setUp(self) -> None:
219
215
220
216
@with_feature ({"organizations:issue-stream-custom-views" : True })
221
217
@with_feature ({"organizations:global-views" : True })
222
- @with_feature ({"organizations:issue-view-sharing" : True })
223
218
def test_deletes_missing_views (self ) -> None :
224
219
views = self .client .get (self .url ).data
225
220
@@ -257,7 +252,6 @@ def test_deletes_missing_views(self) -> None:
257
252
258
253
@with_feature ({"organizations:issue-stream-custom-views" : True })
259
254
@with_feature ({"organizations:global-views" : True })
260
- @with_feature ({"organizations:issue-view-sharing" : True })
261
255
def test_adds_view_with_no_id (self ) -> None :
262
256
views = self .client .get (self .url ).data
263
257
views .append (
@@ -286,7 +280,6 @@ def test_adds_view_with_no_id(self) -> None:
286
280
287
281
@with_feature ({"organizations:issue-stream-custom-views" : True })
288
282
@with_feature ({"organizations:global-views" : True })
289
- @with_feature ({"organizations:issue-view-sharing" : True })
290
283
def test_reorder_views (self ) -> None :
291
284
views = self .client .get (self .url ).data
292
285
view_one = views [0 ]
@@ -316,7 +309,6 @@ def test_reorder_views(self) -> None:
316
309
317
310
@with_feature ({"organizations:issue-stream-custom-views" : True })
318
311
@with_feature ({"organizations:global-views" : True })
319
- @with_feature ({"organizations:issue-view-sharing" : True })
320
312
def test_rename_views (self ) -> None :
321
313
views = self .client .get (self .url ).data
322
314
view = views [0 ]
@@ -329,7 +321,6 @@ def test_rename_views(self) -> None:
329
321
330
322
@with_feature ({"organizations:issue-stream-custom-views" : True })
331
323
@with_feature ({"organizations:global-views" : True })
332
- @with_feature ({"organizations:issue-view-sharing" : True })
333
324
def test_change_query (self ) -> None :
334
325
views = self .client .get (self .url ).data
335
326
view = views [0 ]
@@ -342,7 +333,6 @@ def test_change_query(self) -> None:
342
333
343
334
@with_feature ({"organizations:issue-stream-custom-views" : True })
344
335
@with_feature ({"organizations:global-views" : True })
345
- @with_feature ({"organizations:issue-view-sharing" : True })
346
336
def test_change_sort (self ) -> None :
347
337
views = self .client .get (self .url ).data
348
338
view = views [0 ]
@@ -355,7 +345,6 @@ def test_change_sort(self) -> None:
355
345
356
346
@with_feature ({"organizations:issue-stream-custom-views" : True })
357
347
@with_feature ({"organizations:global-views" : True })
358
- @with_feature ({"organizations:issue-view-sharing" : True })
359
348
def test_change_everything (self ) -> None :
360
349
views = self .client .get (self .url ).data
361
350
view = views [0 ]
@@ -379,7 +368,6 @@ def test_change_everything(self) -> None:
379
368
380
369
@with_feature ({"organizations:issue-stream-custom-views" : True })
381
370
@with_feature ({"organizations:global-views" : True })
382
- @with_feature ({"organizations:issue-view-sharing" : True })
383
371
def test_invalid_no_views (self ) -> None :
384
372
response = self .get_error_response (self .organization .slug , views = [])
385
373
@@ -391,7 +379,6 @@ def test_invalid_no_views(self) -> None:
391
379
392
380
@with_feature ({"organizations:issue-stream-custom-views" : True })
393
381
@with_feature ({"organizations:global-views" : True })
394
- @with_feature ({"organizations:issue-view-sharing" : True })
395
382
def test_invalid_sort (self ) -> None :
396
383
views = self .client .get (self .url ).data
397
384
view = views [0 ]
@@ -410,7 +397,6 @@ def test_invalid_sort(self) -> None:
410
397
411
398
@with_feature ({"organizations:issue-stream-custom-views" : True })
412
399
@with_feature ({"organizations:global-views" : True })
413
- @with_feature ({"organizations:issue-view-sharing" : True })
414
400
def test_invalid_over_max_views (self ) -> None :
415
401
from sentry .api .serializers .rest_framework .groupsearchview import MAX_VIEWS
416
402
@@ -429,7 +415,6 @@ def test_invalid_over_max_views(self) -> None:
429
415
430
416
@with_feature ({"organizations:issue-stream-custom-views" : True })
431
417
@with_feature ({"organizations:global-views" : True })
432
- @with_feature ({"organizations:issue-view-sharing" : True })
433
418
def test_updated_deleted_view (self ) -> None :
434
419
views = self .client .get (self .url ).data
435
420
@@ -552,7 +537,6 @@ def setUp(self) -> None:
552
537
553
538
@with_feature ({"organizations:issue-stream-custom-views" : True })
554
539
@with_feature ({"organizations:global-views" : True })
555
- @with_feature ({"organizations:issue-view-sharing" : True })
556
540
def test_not_including_page_filters_does_not_reset_them_for_existing_views (self ) -> None :
557
541
views = self .client .get (self .url ).data
558
542
@@ -578,7 +562,6 @@ def test_not_including_page_filters_does_not_reset_them_for_existing_views(self)
578
562
579
563
@with_feature ({"organizations:issue-stream-custom-views" : True })
580
564
@with_feature ({"organizations:global-views" : True })
581
- @with_feature ({"organizations:issue-view-sharing" : True })
582
565
def test_default_page_filters_with_global_views (self ) -> None :
583
566
views = self .client .get (self .url ).data
584
567
views .append (
@@ -597,7 +580,6 @@ def test_default_page_filters_with_global_views(self) -> None:
597
580
598
581
@with_feature ({"organizations:issue-stream-custom-views" : True })
599
582
@with_feature ({"organizations:global-views" : True })
600
- @with_feature ({"organizations:issue-view-sharing" : True })
601
583
def test_one_project_to_zero_projects (self ) -> None :
602
584
views = self .client .get (self .url ).data
603
585
view = views [0 ]
@@ -609,7 +591,6 @@ def test_one_project_to_zero_projects(self) -> None:
609
591
610
592
@with_feature ({"organizations:issue-stream-custom-views" : True })
611
593
@with_feature ({"organizations:global-views" : True })
612
- @with_feature ({"organizations:issue-view-sharing" : True })
613
594
def test_to_all_projects (self ) -> None :
614
595
views = self .client .get (self .url ).data
615
596
view = views [0 ]
@@ -621,7 +602,6 @@ def test_to_all_projects(self) -> None:
621
602
622
603
@with_feature ({"organizations:issue-stream-custom-views" : True })
623
604
@with_feature ({"organizations:global-views" : True })
624
- @with_feature ({"organizations:issue-view-sharing" : True })
625
605
def test_one_environment_to_zero_environments (self ) -> None :
626
606
views = self .client .get (self .url ).data
627
607
view = views [0 ]
@@ -632,7 +612,6 @@ def test_one_environment_to_zero_environments(self) -> None:
632
612
633
613
@with_feature ({"organizations:issue-stream-custom-views" : True })
634
614
@with_feature ({"organizations:global-views" : True })
635
- @with_feature ({"organizations:issue-view-sharing" : True })
636
615
def test_update_time_filters (self ) -> None :
637
616
views = self .client .get (self .url ).data
638
617
view = views [0 ]
@@ -643,7 +622,6 @@ def test_update_time_filters(self) -> None:
643
622
644
623
@with_feature ({"organizations:issue-stream-custom-views" : True })
645
624
@with_feature ({"organizations:global-views" : True })
646
- @with_feature ({"organizations:issue-view-sharing" : True })
647
625
def test_empty_time_filters_resets_to_default (self ) -> None :
648
626
views = self .client .get (self .url ).data
649
627
views [0 ]["timeFilters" ] = {}
@@ -692,7 +670,6 @@ class OrganizationGroupSearchViewsProjectsTransactionTest(TransactionTestCase):
692
670
# the test has finished. This causes the endpoint to unexpectedly succeed when it should fail.
693
671
@with_feature ({"organizations:issue-stream-custom-views" : True })
694
672
@with_feature ({"organizations:global-views" : True })
695
- @with_feature ({"organizations:issue-view-sharing" : True })
696
673
def test_invalid_project_ids (self ) -> None :
697
674
url = reverse (
698
675
"sentry-api-0-organization-group-search-views" ,
@@ -874,7 +851,6 @@ def setUp(self) -> None:
874
851
875
852
@with_feature ({"organizations:issue-stream-custom-views" : True })
876
853
@with_feature ({"organizations:global-views" : True })
877
- @with_feature ({"organizations:issue-view-sharing" : True })
878
854
def test_basic_get_page_filters_with_global_filters (self ) -> None :
879
855
self .login_as (user = self .user )
880
856
response = self .client .get (self .url )
@@ -928,7 +904,6 @@ def test_get_page_filters_without_global_filters_user_2(self) -> None:
928
904
929
905
@with_feature ({"organizations:issue-stream-custom-views" : True })
930
906
@with_feature ({"organizations:global-views" : True })
931
- @with_feature ({"organizations:issue-view-sharing" : True })
932
907
def test_default_page_filters_with_global_views (self ) -> None :
933
908
self .login_as (user = self .user_3 )
934
909
response = self .client .get (self .url )
@@ -987,7 +962,6 @@ def setUp(self) -> None:
987
962
988
963
@with_feature ({"organizations:issue-stream-custom-views" : True })
989
964
@with_feature ({"organizations:global-views" : True })
990
- @with_feature ({"organizations:issue-view-sharing" : True })
991
965
def test_cannot_rename_other_users_views (self ) -> None :
992
966
self .login_as (user = self .user )
993
967
views = self .client .get (self .url ).data
0 commit comments