#NEWLINE# def test_create_fails_with_existing_user( self ) : #NEWLINE# #INDENT# user = User ( 'mblayman' , 'test@123.com' , 'password' , 'passwd_digest' ) #NEWLINE# self . storage . create ( user ) #NEWLINE# self . assertRaises ( UserStorageError , self . storage . create , user )