#NEWLINE# def test_create( self ) : #NEWLINE# #INDENT# user = User ( 'mblayman' , 'test@123.com' , 'password' , 'passwd_digest' ) #NEWLINE# self . storage . create ( user ) #NEWLINE# m = hashlib . md5 ( ) #NEWLINE# m . update ( 'mblayman' . encode ( 'utf-8' ) ) #NEWLINE# user_path = os . path . join ( self . storage . _path , m . hexdigest ( ) ) #NEWLINE# self . assertTrue ( os . path . exists ( m ) , 'The user was stored.' )