Пример #1
0
 def _load_test_data(self):
     for dataset_name in self.TEST_DATASETS:
         f = open_data_file('file://tests/fixtures/%s' % dataset_name,
                 allow_local_file=True)
         self.test_data[dataset_name] = read_csv(f)
         self.test_dataset_ids[dataset_name] = uuid.uuid4().hex
Пример #2
0
 def test_open_data_file_no_match(self):
     result = open_data_file('', allow_local_file=True)
     self.assertEqual(result, None)