#NEWLINE# def test_save_with_short_code( self ) : #NEWLINE# #INDENT# "Test that saving ShortenedURL doesn't override a preset short_code" #NEWLINE# result = models . ShortenedURL . objects . create ( url = 'http://www.thisisanewurl.com' , short_code = 'something crazy' ) #NEWLINE# self . assertEqual ( self . short_code , 'something crazy' )