#NEWLINE# def test_backup_schedule_can_not_be_created_with_wrong_schedule( self ) : #NEWLINE# #INDENT# self . backup_schedule_data [ 'schedule' ] = 'wrong schedule' #NEWLINE# response = self . client . post ( self . url , self . backup_schedule_data ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_400_BAD_REQUEST ) #NEWLINE# self . assertIn ( 'schedule' , response . content )