#NEWLINE# def test_bounded_long_integer_property( testbed ) : #NEWLINE# #INDENT# class TestBoundedLongIntegerProperty ( ndb . Model ) : #NEWLINE# #INDENT# num = my_models . BoundedLongIntegerProperty ( 4 ) #NEWLINE# #UNINDENT# with pytest . raises ( AssertionError ) : #NEWLINE# #INDENT# TestBoundedLongIntegerProperty ( num = 15 ) #NEWLINE# #UNINDENT# with pytest . raises ( AssertionError ) : #NEWLINE# #INDENT# TestBoundedLongIntegerProperty ( num = ( - 15 ) ) #NEWLINE# #UNINDENT# working_instance = TestBoundedLongIntegerProperty ( num = 7 ) #NEWLINE# assert ( testbed . num == 7 ) #NEWLINE# working_instance . num = 2 #NEWLINE# assert ( working_instance . num == 2 )