Example #1
0
 def setUp(self):
     """
     Creates a fresh test workspace in a temp dir to ensure
     we do not have conflicts with other CLI tests.
     """
     self.tmp_ws_dir = os.path.join(tempfile.mkdtemp(), "son-workspace")
     ws = Workspace(self.tmp_ws_dir, ws_name="son-profile test workspace")
     ws.create_dirs()
     ws.create_files()
Example #2
0
 def setUp(self):
     """
     Creates a fresh test workspace in a temp dir to ensure
     we do not have conflicts with other CLI tests.
     """
     self.tmp_ws_dir = os.path.join(tempfile.mkdtemp(), "son-workspace")
     ws = Workspace(self.tmp_ws_dir, ws_name="son-profile test workspace")
     ws.create_dirs()
     ws.create_files()