Skip to content

Commit

Permalink
Leave only simple set and clear test
Browse files Browse the repository at this point in the history
  • Loading branch information
bacecek committed Apr 8, 2024
1 parent 790af29 commit 30ce0b4
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tests/adbe_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,18 +465,11 @@ def test_location():
check("location off")


def test_debug_app_set():
def test_debug_app():
_assert_success('debug-app set %s' % _TEST_APP_ID)


def test_debug_app_clear():
_assert_success('debug-app clear')


def test_debug_app_set_fail():
_assert_fail('debug-app set %s' % _TEST_NON_EXISTANT_APP_ID)


def _assert_fail(sub_cmd):
exit_code, stdout_data, stderr_data = _execute(sub_cmd)
assert exit_code == 1, 'Command "%s" failed with stdout: "%s" and stderr: "%s"' %(sub_cmd, stdout_data, stderr_data)
Expand Down Expand Up @@ -566,9 +559,7 @@ def main():
test_screen_toggle()
test_notifications()
test_location()
test_debug_app_set()
test_debug_app_clear()
test_debug_app_set_fail()
test_debug_app()
# TODO: Add a test for screen record after figuring out how to perform ^C while it is running.


Expand Down

0 comments on commit 30ce0b4

Please sign in to comment.