예제 #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"
     )