Exemplo n.º 1
0
 def test_check_transfer(self):
     misc.check_transfer(self.bad_probe00_folder_3A, self.bad_probe00_folder_3A)
     misc.check_transfer(str(self.bad_probe00_folder_3A), self.bad_probe00_folder_3A)
     with self.assertRaises(AssertionError) as cm:
         misc.check_transfer(self.bad_probe00_folder_3A, self.bad_probe00_folder_3B)
     err = cm.exception
     self.assertEqual(str(err), "src_files != dst_files")
Exemplo n.º 2
0
 def test_check_transfer(self):
     misc.check_transfer(self.session_path_3A, self.session_path_3A)
     misc.check_transfer(str(self.session_path_3A), self.session_path_3A)
     with self.assertRaises(AssertionError):
         misc.check_transfer(self.session_path_3A, self.session_path_3B)