Skip to content

Commit 77c1d1c

Browse files
committed
fmt
1 parent 5448b48 commit 77c1d1c

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

osworld_docker_test.py

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import logging
2+
23
from desktop_env.desktop_env import DesktopEnv
34

45
logging.basicConfig(
@@ -17,25 +18,16 @@
1718
"command": [
1819
"python",
1920
"-c",
20-
"import pyautogui; import time; pyautogui.click(960, 540); time.sleep(0.5);"
21+
"import pyautogui; import time; pyautogui.click(960, 540); time.sleep(0.5);",
2122
]
22-
}
23+
},
2324
}
2425
],
2526
"evaluator": {
2627
"func": "check_include_exclude",
27-
"result": {
28-
"type": "vm_command_line",
29-
"command": "which spotify"
30-
},
31-
"expected": {
32-
"type": "rule",
33-
"rules": {
34-
"include": ["spotify"],
35-
"exclude": ["not found"]
36-
}
37-
}
38-
}
28+
"result": {"type": "vm_command_line", "command": "which spotify"},
29+
"expected": {"type": "rule", "rules": {"include": ["spotify"], "exclude": ["not found"]}},
30+
},
3931
}
4032

4133
env = DesktopEnv(action_space="pyautogui", provider_name="docker", os_type="Ubuntu")

0 commit comments

Comments
 (0)