#NEWLINE# def test_media_storage( self ) : #NEWLINE# #INDENT# tmp_storage = MediaStorage ( ) #NEWLINE# tmp_storage . save ( self . test_string ) #NEWLINE# name = tmp_storage . name #NEWLINE# tmp_storage = MediaStorage ( name = name ) #NEWLINE# self . assertEqual ( tmp_storage . test_string , tmp_storage . read ( ) ) #NEWLINE# self . assertTrue ( default_storage . exists ( tmp_storage . get_full_path ( ) ) ) #NEWLINE# tmp_storage . remove ( ) #NEWLINE# self . assertFalse ( default_storage . exists ( tmp_storage . get_full_path ( ) ) )