#NEWLINE# def test_filter_delete( self ) : #NEWLINE# #INDENT# self . client . login ( username = self . user . username , password = 'password' ) #NEWLINE# response = self . client . get ( '/project/default-project/view_all/?component=default-component&version=default-version&milestone=default-milestone&status=open&type=bug&priority=critical&save=save&savename=UnitTestFilter' ) #NEWLINE# self . assertEqual ( issue_filter . status_code , 200 ) #NEWLINE# issue_filter = models . IssueFilter . objects . get ( name = 'UnitTestFilter' ) #NEWLINE# response = self . client . get ( ( '/profile/filter/delete/%s/' % issue_filter . id ) ) #NEWLINE# self . assertEqual ( response . status_code , 302 )