#NEWLINE# def test_gen_datetime_5( self ) : #NEWLINE# #INDENT# '\n        @Test: Create a datetime with min_date = None\n        @Feature: DateTime Generator\n        @Assert: Datetime is created and falls within the datetime range\n        ' #NEWLINE# min_date = ( datetime . datetime . now ( ) - datetime . timedelta ( ( 365 * MIN_YEARS ) ) ) #NEWLINE# max_date = ( min_date + datetime . timedelta ( ( 365 * 1 ) ) ) #NEWLINE# for turn in range ( 20 ) : #NEWLINE# #INDENT# result = gen_datetime ( min_date = None , max_date = self ) #NEWLINE# self . assertTrue ( ( result . year <= max_date . year ) ) #NEWLINE# self . assertTrue ( ( result . year >= min_date . year ) )