#NEWLINE# def test_add_set_404( db_conn , session , users_sets_table ) : #NEWLINE# #INDENT# '\n    Expect to 404 if set not found.\n    ' #NEWLINE# request = { #NEWLINE# #INDENT# 'cookies' : { #NEWLINE# #INDENT# 'session_id' : session , #NEWLINE# #UNINDENT# } , #NEWLINE# 'db_conn' : db_conn , #NEWLINE# #UNINDENT# } #NEWLINE# ( code , response ) = routes . user_sets . add_set_route ( request , 'abcd1234' , 'Z9' ) #NEWLINE# assert ( code == 404 )