MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / test_toolkit

Function test_toolkit

test/python/binding_test.py:731–744  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

729
730
731def test_toolkit():
732 print("\n=== test_toolkit ===")
733
734 devices = Toolkit.find_adb_devices()
735 print(f" adb devices: {len(devices)}")
736 for dev in devices[:3]:
737 print(f" - {dev.name}: {dev.address}")
738
739 desktop = Toolkit.find_desktop_windows()
740 print(f" desktop windows: {len(desktop)}")
741 for win in desktop[:3]:
742 print(f" - {win.window_name[:30] if win.window_name else '(no name)'}")
743
744 print(" PASS: toolkit")
745
746
747def test_background_managed_keys_api():

Callers 1

binding_test.pyFile · 0.85

Calls 2

find_adb_devicesMethod · 0.80
find_desktop_windowsMethod · 0.80

Tested by

no test coverage detected