def setUp(self): self.test_dir = os.path.join(os.path.dirname(__file__), 'test_files') Universe.reset() Universe.path_prefix = self.test_dir dstags = MagicMock() dstags.get.return_value = [] common.services.register(ServiceName.DATASTORE_TAGS, dstags)
def setUp(self): Universe.reset() self.test_dir = os.path.join(os.path.dirname(__file__), 'test_files')