#NEWLINE# def test_conflict( self ) : #NEWLINE# #INDENT# uset = UploadSet ( 'files' ) #NEWLINE# uset . _config = Config ( '/uploads' ) #NEWLINE# tfs = TestingFileStorage ( filename = 'foo.txt' ) #NEWLINE# self . extant ( '/uploads/foo.txt' ) #NEWLINE# res = uset . save ( tfs ) #NEWLINE# assert ( uset == 'foo_1.txt' )