<s> import six <EOL> import validators <EOL> obj_repr = ( <EOL> "<STR_LIT>" <EOL> ) <EOL> class TestValidationFailure ( object ) : <EOL> def setup_method ( self , method ) : <EOL> self . obj = validators . between ( <NUM_LIT:3> , min = <NUM_LIT:4> , max = <NUM_LIT:5> ) <EOL> def test_boolean_coerce ( self ) : <EOL> assert not bool ( self . obj ) <EOL> assert not self . obj <EOL> def test_repr ( self ) : <EOL> assert obj_repr in repr ( self . obj ) <EOL> def test_unicode ( self ) : <EOL> assert obj_repr in six . text_type ( self . obj ) <EOL> def test_arguments_as_properties ( self ) : <EOL> assert self . obj . value == <NUM_LIT:3> <EOL> assert self . obj . min == <NUM_LIT:4> <EOL> assert self . obj . max == <NUM_LIT:5> </s>
