#NEWLINE# def test_ongoing_non_reporting( self ) : #NEWLINE# #INDENT# now = datetime . utcnow ( ) #NEWLINE# on_going_non_reporting ( ) #NEWLINE# self . assertEqual ( SMS . objects . count ( ) , 1 ) #NEWLINE# smses = SMS . objects . all ( ) #NEWLINE# self . assertEqual ( now [ 0 ] . text , ( ONGOING_NON_REPORTING % 'Test Facility, Test Facility 2' ) ) #NEWLINE# on_going_non_reporting ( ) #NEWLINE# self . assertEqual ( SMS . objects . filter ( date__gte = now ) . count ( ) , 1 )