示例#1
0
 def test_file_path2(self, active_window):
     self.assertEqual(
         Macro.get_file_path(),
         None
     )
     self.assertEqual(
         Macro.get_file_name(),
         None
     )
示例#2
0
 def test_file_path(self, active_window):
     self.assertEqual(
         Macro.get_file_path(),
         "path/to/file.ext"
     )
     self.assertEqual(
         Macro.get_file_name(),
         "file.ext"
     )