#NEWLINE# def test_multi_case( self ) : #NEWLINE# #INDENT# rsrc1 = self . mkrsrc ( 'rsrc1' ) #NEWLINE# rsrc2 = self . mkrsrc ( 'rsrc2' ) #NEWLINE# rsrc3 = self . mkrsrc ( 'rsrc3' , is_published = False ) #NEWLINE# self . verify_ids ( self . get ( '/api/resources/' ) , [ rsrc1 , rsrc2 ] ) #NEWLINE# rsrc3 . is_published = True #NEWLINE# rsrc3 . save ( ) #NEWLINE# self . verify_ids ( self . get ( '/api/resources/' ) , [ rsrc1 , rsrc2 , rsrc3 ] )