Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seamus-sloan committed Oct 23, 2023
1 parent d83ec90 commit b6d45c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_screenshot_custom_name():

def test_record_custom_name():
filename = "custom.mp4"
remote_path = "/sdcard/screenrecord.mp4"
remote_path = "/data/local/tmp/screenrecord.mp4"

mock_proc = MagicMock()
with patch("subprocess.Popen", return_value=mock_proc) as mock_popen, \
Expand All @@ -109,7 +109,7 @@ def test_record_custom_name():

def test_record_default_name():
filename = "video.mp4"
remote_path = "/sdcard/screenrecord.mp4"
remote_path = "/data/local/tmp/screenrecord.mp4"

mock_proc = MagicMock()
with patch("subprocess.Popen", return_value=mock_proc) as mock_popen, \
Expand Down

0 comments on commit b6d45c2

Please sign in to comment.