<s> from datetime import date , datetime , timedelta <EOL> from couchforms . models import XFormInstance <EOL> from . case_reports import OPMCaseReportTestBase , OPMCase , MockCaseRow <EOL> class TestCaseProperties ( OPMCaseReportTestBase ) : <EOL> def test_future_lmp ( self ) : <EOL> case = OPMCase ( <EOL> forms = [ ] , <EOL> edd = date ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT:8> ) , <EOL> lmp = date . today ( ) + timedelta ( days = <NUM_LIT:30> ) , <EOL> ) <EOL> row = MockCaseRow ( case , self . report ) <EOL> self . assertTrue ( row . bad_lmp ) </s>
