Exemple #1
0
 def test_process_missing(self, mock_create_school, mock_dump, mock_process_datafiles):
     mock_process_datafiles.return_value = {'999998': {'onCampusAvail':
                                                       'yes'}}
     update_ipeds.process_missing(['999998'])
     self.assertTrue(mock_dump.call_count == 1)
     self.assertTrue(mock_create_school.call_count == 1)
     self.assertTrue(mock_process_datafiles.call_count == 1)
Exemple #2
0
 def test_process_missing(
         self, mock_create_school, mock_dump, mock_process_datafiles):
     mock_process_datafiles.return_value = {
         '999998': {'onCampusAvail': 'yes'}}
     update_ipeds.process_missing(['999998'])
     self.assertTrue(mock_dump.call_count == 1)
     self.assertTrue(mock_create_school.call_count == 1)
     self.assertTrue(mock_process_datafiles.call_count == 1)