File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -520,20 +520,3 @@ def test_view_get_all_fields(server: TSC.Server) -> None:
520520 assert isinstance (views [2 ].location , TSC .LocationItem )
521521 assert views [2 ].location .id == "669ca36b-492e-4ccf-bca1-3614fe6a9d7a"
522522 assert views [2 ].location .type == "Project"
523-
524-
525- def make_view () -> TSC .ViewItem :
526- view = TSC .ViewItem ()
527- view ._id = "1234"
528- return view
529-
530-
531- @pytest .mark .parametrize ("view" , [make_view , "1234" ])
532- def test_delete_view (server : TSC .Server , view : TSC .ViewItem | str ) -> None :
533- server .version = "3.27"
534- id_ = getattr (view , "id" , view )
535- with requests_mock .mock () as m :
536- m .delete (f"{ server .views .baseurl } /{ id_ } " )
537- server .views .delete (view )
538- assert m .called
539- assert m .call_count == 1
You can’t perform that action at this time.
0 commit comments