#NEWLINE# def test_sa_enum_constraint( self ) : #NEWLINE# #INDENT# def handler( ) : #NEWLINE# #INDENT# node = models . Node ( mac = '60:a4:4c:35:28:95' , timestamp = datetime . datetime . now ( ) , status = 'batman' ) #NEWLINE# db . add ( node ) #NEWLINE# db . flush ( ) #NEWLINE# #UNINDENT# self . assertRaises ( web . HTTPError , load_db_driver , handler )