From 6d80ac3f22ca1c0a6ab92afe74cb68e64730a2f9 Mon Sep 17 00:00:00 2001 From: Julian-o Date: Sun, 27 Aug 2023 11:24:37 +1000 Subject: [PATCH] Uncorrect file_extract mock --- tests/test_buildozer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_buildozer.py b/tests/test_buildozer.py index 6a2bb3976..38829f682 100644 --- a/tests/test_buildozer.py +++ b/tests/test_buildozer.py @@ -126,7 +126,7 @@ def test_android_ant_path(self): # Mock first run with mock.patch('buildozer.buildops.download') as download, \ - mock.patch('buildozer.buildops.file_extract') as m_file_extract, \ + mock.patch('buildozer.Buildozer.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')]