#NEWLINE# def test_adding_incrementing_id( self ) : #NEWLINE# #INDENT# blueprint = Blueprint ( 'users' ) #NEWLINE# blueprint . increments ( 'id' ) #NEWLINE# statements = blueprint . to_sql ( self . get_connection ( ) , self . get_grammar ( ) ) #NEWLINE# self . assertEqual ( 1 , len ( statements ) ) #NEWLINE# self . assertEqual ( 'ALTER TABLE "users" ADD COLUMN "id" SERIAL PRIMARY KEY NOT NULL' , statements [ 0 ] )