feat: add fake env
This commit is contained in:
50
test_env/fake_python_controller.py
Normal file
50
test_env/fake_python_controller.py
Normal file
@@ -0,0 +1,50 @@
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
|
||||
class PythonController:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def get_screenshot(self) -> Optional[bytes]:
|
||||
pass
|
||||
|
||||
def get_accessibility_tree(self) -> Optional[str]:
|
||||
pass
|
||||
|
||||
def get_terminal_output(self) -> Optional[str]:
|
||||
pass
|
||||
|
||||
def get_file(self, file_path: str) -> Optional[bytes]:
|
||||
pass
|
||||
|
||||
def execute_python_command(self, command: str) -> None:
|
||||
pass
|
||||
|
||||
def execute_action(self, action: Dict[str, Any]):
|
||||
pass
|
||||
|
||||
# Record video
|
||||
def start_recording(self):
|
||||
pass
|
||||
|
||||
def end_recording(self, dest: str):
|
||||
pass
|
||||
|
||||
# Additional info
|
||||
def get_vm_platform(self):
|
||||
pass
|
||||
|
||||
def get_vm_screen_size(self):
|
||||
pass
|
||||
|
||||
def get_vm_window_size(self, app_class_name: str):
|
||||
pass
|
||||
|
||||
def get_vm_wallpaper(self):
|
||||
pass
|
||||
|
||||
def get_vm_desktop_path(self) -> Optional[str]:
|
||||
pass
|
||||
|
||||
def get_vm_directory_tree(self, path) -> Optional[Dict[str, Any]]:
|
||||
pass
|
||||
Reference in New Issue
Block a user