Skip to content

Commit

Permalink
Internal change.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 635589951
  • Loading branch information
Chris Rawles authored and The android_world Authors committed May 20, 2024
1 parent 2e66aba commit 1c065af
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions android_world/env/actuation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,23 +292,6 @@ def test_launch_app_drawer(self):
) # Assuming screen_size is (100, 100)
mock_issue_request.assert_called_once()

def test_launch_quick_settings(self):
action = json_action.JSONAction(
action_type='launch_adb_activity', activity_nickname='quick_settings'
)
with (
mock.patch.object(adb_utils, 'generate_swipe_command') as mock_swipe,
mock.patch.object(
adb_utils, 'issue_generic_request'
) as mock_issue_request,
):
actuation.execute_adb_action(
action, self.screen_elements, self.screen_size, self.mock_env
)

mock_swipe.assert_called_once_with(50, 30, 50, 30, duration_ms=10)
mock_issue_request.assert_called_once()


if __name__ == '__main__':
absltest.main()

0 comments on commit 1c065af

Please sign in to comment.