Hans-Christoph Steiner
f92542c7ea
skip test with mystery failure only on macOS
...
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1587#note_2273747610
This happened when this test was a shell script as well:
https://gitlab.com/fdroid/fdroidserver/-/blob/2.3.5/tests/run-tests#L1244
2025-02-14 11:12:22 +01:00
Hans-Christoph Steiner
1694966455
gpg requires a short path to the socket to talk to gpg-agent
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
efda0f5d6c
skip gpgsign test if gpg is not availabe on the PATH
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
b7c5233668
test_integration: stop trying to handle proxy errors
...
I don't think it is possible to automatically handle those cases, because
proxy setups can be so widely varied and can have privacy ramifications.
The person running the test who hits proxy errors will need to handle them
manually.
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
efce0ce0e4
use shared test function to replicate .testfiles setup
...
* It should include a subdir named after the test case.
* self.testdir is the common var name for this.
* tmp_repo is not a repo/ subdir, but instead the root of the whole repo
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
820abbc876
'archive/' dir might have been locally created
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
7a21c24e45
test_integration: add docstring comments
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
b933043ca1
new helpers: get_output_extension() & get_release_apk_filename()
...
This also moves to the standard var names: appid & versionCode
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
8b52740636
use for f in files
var name; avoid using keyword as var name
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
1720a51e9e
replace := walrus operator usages
2025-02-13 17:56:30 +01:00
mindston
1cbd68af84
Ignore bandit insecure usage of tmp dir warnings
2025-02-13 17:56:30 +01:00
mindston
565ae02678
Remove macOS exceptions
2025-02-13 17:56:30 +01:00
mindston
fa4ff197aa
Force C.UTF-8 locale for messages instead of en_US.UTF-8
2025-02-13 17:56:30 +01:00
mindston
aeb6c612e9
Set configuration variables for tests that run Git
2025-02-13 17:56:30 +01:00
mindston
96f9d7fdf8
Fix androguard import for versions <4
2025-02-13 17:56:30 +01:00
mindston
62b4af4f19
Fix UTC timezone import to work on Python <3.11
2025-02-13 17:56:30 +01:00
mindston
9201b3ca94
Migrate integration tests from Bash to Python
2025-02-13 17:56:30 +01:00