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'
Exemple #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
Exemple #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',
     ]
 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',
     ]
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Version()
Exemple #7
0
 def setUp(self):
     TestBase.setUp(self)
     self.datasets = Datasets()
     self.tmp_file = NamedTemporaryFile(delete=False)
Exemple #8
0
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('good_eats.csv')
     self.bframe = BambooFrame(self.dframe)
 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'
Exemple #10
0
 def setUp(self):
     TestBase.setUp(self)
     self.dataset = Dataset()
     self.dataset.save(self.test_dataset_ids['good_eats.csv'])
Exemple #11
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = AbstractController()
 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'
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Root()
Exemple #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"})
Exemple #16
0
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('good_eats.csv')
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('soil_samples.csv')
 def setUp(self):
     TestBase.setUp(self)
     self.controller = AbstractController()
Exemple #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}
Exemple #20
0
 def setUp(self):
     TestBase.setUp(self)
     self.dframe = self.get_data('good_eats.csv')
Exemple #21
0
 def setUp(self):
     self.parser = Parser()
     self.row = {"VAR": 1}
     TestBase.setUp(self)
Exemple #22
0
 def setUp(self):
     TestBase.setUp(self)
     self.controller = Version()
Exemple #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"})
 def setUp(self):
     TestBase.setUp(self)
     self.datasets = Datasets()
     self.tmp_file = NamedTemporaryFile(delete=False)
Exemple #25
0
 def setUp(self):
     TestBase.setUp(self)
Exemple #26
0
 def setUp(self):
     TestBase.setUp(self)