Exemple #1
0
 def setUp(self):
     self.datasafe = datasafe.Datasafe()
     top_level_directory = os.path.dirname(
         os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
     self.target_directory = top_level_directory + "/datasafe-test/ds"
     if not os.path.exists(self.target_directory):
         os.makedirs(self.target_directory)
Exemple #2
0
 def setUp(self):
     self.datasafe = datasafe.Datasafe()
     top_level_directory = os.path.dirname(
         os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
     self.common_directory = top_level_directory + "/datasafe-test"
     self.target_directory = top_level_directory + "/datasafe-test/ds"
     print(self.target_directory)
     if not os.path.exists(self.target_directory):
         os.makedirs(self.target_directory)
     self.datasafe.set_path(self.target_directory)
     self.target_file = self.common_directory + "/cwepr/sa571/1/data/raw/Manifest.yaml"
Exemple #3
0
 def setUp(self):
     self.datasafe = datasafe.Datasafe()
Exemple #4
0
 def setUp(self):
     self.datasafe = datasafe.Datasafe()
     top_level_directory = os.path.dirname(
         os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
     self.target_directory = top_level_directory + "/datasafe-test/cwepr/sa571/1"
     self.target_file = self.target_directory + "/data/raw/Manifest.yaml"