Пример #1
0
 def test_marker_file_setup(self):
     """Test creation of marker files."""
     markerfilepath = self.tmp_path(".markerfile-hi.txt", self.tdir)
     self.assertFalse(os.path.exists(markerfilepath))
     dsovf.setup_marker_files(markerid="hi", marker_dir=self.tdir)
     self.assertTrue(os.path.exists(markerfilepath))
Пример #2
0
 def test_marker_file_setup(self):
     """Test creation of marker files."""
     markerfilepath = self.tmp_path('.markerfile-hi.txt', self.tdir)
     self.assertFalse(os.path.exists(markerfilepath))
     dsovf.setup_marker_files(markerid='hi', marker_dir=self.tdir)
     self.assertTrue(os.path.exists(markerfilepath))