def setUp(self):
     TestBase.setUp(self)
     self.controller = Calculations()
     self.dataset_controller = Datasets()
     self.dataset_id = None
     self.formula = 'amount + gps_alt'
     self.name = 'test'
예제 #2
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(
         self.test_dataset_ids['good_eats_with_calculations.csv'])
     dframe = recognize_dates(
         self.get_data('good_eats_with_calculations.csv'))
     self.dataset.save_observations(dframe)
     self.group = None
     self.places = 5
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(
         self.test_dataset_ids['good_eats_with_calculations.csv'])
     dframe = recognize_dates(
         self.get_data('good_eats_with_calculations.csv'))
     self.dataset.save_observations(dframe)
     self.group = None
     self.places = 5
예제 #4
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Datasets()
     self._file_name = 'good_eats.csv'
     self._update_file_name = 'good_eats_update.json'
     self._update_check_file_path = '%sgood_eats_update_values.json' % (
         self.FIXTURE_PATH)
     self.default_formulae = [
         'amount',
         'amount + 1',
         'amount - 5',
     ]
예제 #5
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Datasets()
     self._file_name = 'good_eats.csv'
     self._update_file_name = 'good_eats_update.json'
     self._update_check_file_path = '%sgood_eats_update_values.json' % (
         self.FIXTURE_PATH)
     self.default_formulae = [
         'amount',
         'amount + 1',
         'amount - 5',
     ]
예제 #6
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Version()
예제 #7
0
 def setUp(self):
     TestBase.setUp(self)
     self.datasets = Datasets()
     self.tmp_file = NamedTemporaryFile(delete=False)
예제 #8
0
파일: test_frame.py 프로젝트: j/bamboo
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('good_eats.csv')
     self.bframe = BambooFrame(self.dframe)
예제 #9
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(self.test_dataset_ids['good_eats.csv'])
     self.formula = 'rating'
     self.name = 'test'
예제 #10
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(self.test_dataset_ids['good_eats.csv'])
예제 #11
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = AbstractController()
예제 #12
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset_id = self._post_file()
     self.dataset = Dataset.find_one(self.dataset_id)
     self.parser = Parser()
     self.row = {'amount': 1}
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(self.test_dataset_ids['good_eats.csv'])
     self.formula = 'rating'
     self.name = 'test'
예제 #14
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Root()
예제 #15
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(self.test_dataset_ids['good_eats.csv'])
     self.query_args = QueryArgs({"rating": "delectible"})
예제 #16
0
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('good_eats.csv')
예제 #17
0
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('soil_samples.csv')
 def setUp(self):
     TestBase.setUp(self)
     self.controller = AbstractController()
예제 #19
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset_id = self._post_file()
     self.dataset = Dataset.find_one(self.dataset_id)
     self.parser = Parser()
     self.row = {"amount": 1}
예제 #20
0
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('good_eats.csv')
예제 #21
0
파일: test_parser.py 프로젝트: j/bamboo
 def setUp(self):
     self.parser = Parser()
     self.row = {"VAR": 1}
     TestBase.setUp(self)
예제 #22
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Version()
예제 #23
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(self.test_dataset_ids['good_eats.csv'])
     self.query_args = QueryArgs({"rating": "delectible"})
예제 #24
0
 def setUp(self):
     TestBase.setUp(self)
     self.datasets = Datasets()
     self.tmp_file = NamedTemporaryFile(delete=False)
예제 #25
0
 def setUp(self):
     TestBase.setUp(self)
예제 #26
0
 def setUp(self):
     TestBase.setUp(self)