Esempio n. 1
0
 def setUp(self):
     Configuration.FILEPATH = 'test/resources/conf/mongofs.json'
     self.obj = Mongo()
     GenericFile.mongo = self.obj
     GenericFile.configuration = Configuration()
     self.utils = Utils(mongo=self.obj)
     self.utils.load_files()
Esempio n. 2
0
 def setUp(self):
     Configuration.FILEPATH = 'test/resources/conf/mongofs.json'
     self.mongo = Mongo(do_clean_up=True)
     GenericFile.mongo = self.mongo
     GenericFile.configuration = Configuration()
     self.utils = Utils(mongo=self.mongo)
     self.utils.load_files()