Skip to content

Commit

Permalink
Missed a mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian-O committed Aug 27, 2023
1 parent a2a37b9 commit 1fddf4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_buildozer.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_android_ant_path(self):

# Mock first run
with mock.patch('buildozer.buildops.download') as download, \
mock.patch('buildozer.Buildozer.file_extract') as m_file_extract, \
mock.patch('buildozer.buildops.file_extract') as m_file_extract, \
mock.patch('os.makedirs'):
ant_path = target._install_apache_ant()
assert m_file_extract.call_args_list == [mock.call(mock.ANY, cwd='/my/ant/path')]
Expand Down

0 comments on commit 1fddf4b

Please sign in to comment.