1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00
fdroidserver/tests
Hans-Christoph Steiner 7904f12d05 net: add test of automatic retries in download_file()
The existing logic from d1ddd525c in !1225 is confusing because it adds its
own retry loop on top of the retry mechanism that is built into requests.
So this test confirms that setting `download_file(retries=3)` actually
results in more than three retries.
2024-03-06 13:31:46 +00:00
..
build/info.guardianproject.urzip metadata: test to check that metadata/*.yml overrides .fdroid.yml 2023-05-11 10:37:45 +02:00
build-tools Added test aapt output files for build-tools 28.0.3 2019-01-13 19:27:02 +01:00
builder build: read VM CPUs/RAM from builder/Vagrantfile 2022-11-15 08:57:41 +01:00
config add 'non-changeable' to NonFreeNet description 2024-02-21 17:13:58 +01:00
extra disable pylint no-member on tests/extra/manual-vmtools-test.py 2023-03-20 17:38:10 +01:00
get_android_tools_versions common.get_android_tools_versions() for modern NDK dir layout 2023-04-11 13:54:17 +02:00
gnupghome gpg-sign all valid files in the repo, including source tarballs 2016-11-07 14:53:01 +01:00
metadata category with no apps should be ignored, even if defined in config 2023-09-08 10:45:53 +02:00
metadata-rewrite-yml metadata: set mapping indentation to 2 2023-09-08 08:18:27 +00:00
repo add 'non-changeable' to NonFreeNet description 2024-02-21 17:13:58 +01:00
signindex Support ETag when downloading repository index 2017-05-02 15:37:02 -03:00
source-files scanner: also scan classpath 2022-08-24 21:34:55 +02:00
stats signindex: add JSON check for entry.json 2023-02-17 14:34:53 +00:00
triple-t-2 update: parse Triple-T v2.x layout 2019-10-04 14:11:40 +02:00
triple-t-anysoftkeyboard add test_insert_triple_t_anysoftkeyboard() 2021-08-04 17:33:38 +02:00
triple-t-flutter Add test case for Triple-T metadata in a Flutter project 2022-03-07 12:40:37 +01:00
triple-t-multiple update test_insert_triple_t_multiple_metadata() test data 2021-08-03 20:53:56 +02:00
valid-package-names move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
aosp_testkey_debug.keystore nightly: support OpenSSL 3.0 with Paramiko 2022-11-16 14:40:08 +01:00
api.TestCase download_repo_index_v2() for verified downloading of index-v2 2023-03-09 12:35:29 +01:00
apk.embedded_1.apk Add apk.embedded_1.apk test 2022-05-03 14:59:52 +00:00
bad-unicode-πÇÇ现代通用字-български-عربي1.apk rename test files to work round filename length limits 2017-11-27 16:57:30 +01:00
build.TestCase deinit git submodule 2023-11-14 01:06:49 +08:00
check-fdroid-apk use standard User-Agent in check-fdroid-apk 2018-01-26 10:18:41 +01:00
checkupdates.TestCase Remove path workarounds for old python versions 2023-02-15 19:25:48 +00:00
com.fake.IpaApp_1000000000001.ipa 🥔 add strapped IPA file and test for parse_ipa 2024-01-11 11:34:21 +01:00
common.TestCase config: convert serverwebroot: to list-of-dicts format 2024-01-22 22:11:49 +01:00
config.py signindex: add JSON check for entry.json 2023-02-17 14:34:53 +00:00
corrupt-featureGraphic.png update: log errors on bad graphics, and then ignore the file 2019-09-26 22:06:21 +02:00
deploy.TestCase feat: add servergitmirrors as a dict support 2024-02-14 16:50:39 +00:00
dummy-keystore.jks added functions for storing/loading signer fingerprints to stats 2017-09-26 14:11:09 +02:00
dump_internal_metadata_format.py metadata_v0: use git rev-parse instead of git describe 2024-01-09 14:54:38 +01:00
exception.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
funding-usernames.yaml update: insert donation links based on FUNDING.yml 2020-06-16 15:35:26 +02:00
get-country-region-data.py lint: check syntax of countryCode: fields for mirrors 2024-01-09 09:32:37 +00:00
gpgsign.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
gradle-maven-blocks.yaml scanner: fix maven url check for kts files 2022-08-08 15:52:47 +00:00
gradle-release-checksums.py Add support for Python 3.12 2023-12-07 18:15:05 -05:00
import_subcommand.TestCase metadata: refactor into one function to do YAML post processing 2023-04-28 10:44:19 +02:00
index.TestCase feat: add servergitmirrors as a dict support 2024-02-14 16:50:39 +00:00
init.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
install.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
IsMD5Disabled.java tests: support Java setups where MD5 is not disabled by default 2017-09-19 20:16:08 +02:00
janus.apk update: reject APKs with invalid file sig, probably Janus exploits 2017-12-14 16:57:22 +01:00
key-tricks.py index: fix GitLab Raw URLs with gitlab.com and recent versions 2020-12-15 08:30:48 +01:00
keystore.jks tests: add test for correctly handling CVC when archiving 2019-12-24 17:35:54 +01:00
lint.TestCase lint: check syntax of countryCode: fields for mirrors 2024-01-09 09:32:37 +00:00
main.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
metadata.TestCase category with no apps should be ignored, even if defined in config 2023-09-08 10:45:53 +02:00
minimal_targetsdk_30_unsigned.apk publish: use apksigner for signing apks with targetSDK>=30 2020-09-09 18:09:28 +02:00
net.TestCase net: add test of automatic retries in download_file() 2024-03-06 13:31:46 +00:00
nightly.TestCase feat: add servergitmirrors as a dict support 2024-02-14 16:50:39 +00:00
no_targetsdk_minsdk1_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
no_targetsdk_minsdk30_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
Norway_bouvet_europe_2.obf.zip use smallest possible valid .obf.zip file in tests 2020-12-03 21:48:37 +01:00
openssl-version-check-test.py Add timeout argument to requests.(get,post) 2022-09-05 17:50:10 +02:00
org.bitbucket.tickytacky.mirrormirror_1.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_2.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_3.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_4.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.dyndns.fules.ck_20.apk use androguard if aapt isn't found 2017-05-04 23:35:17 +02:00
org.sajeg.fallingblocks_3.apk update: handle messed up namespaces in AndroidManifest.xml 2023-03-20 13:24:59 +00:00
publish.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
refresh-SUSS_DEFAULT.py scanner: script to update default rules from SUSS 2024-01-25 11:51:22 +01:00
rewritemeta.TestCase test to check that the right Builds flag values get removed 2023-05-23 12:11:09 +02:00
run-tests feat: add servergitmirrors as a dict support 2024-02-14 16:50:39 +00:00
scanner.TestCase scanner: add refresh_config config item for buildserver 2024-01-25 17:04:38 +01:00
signatures.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
signindex.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00
SpeedoMeterApp.main_1.apk update: do not crash with androguard when working with apps without icons 2018-03-12 17:55:45 +01:00
SystemWebView-repack.apk update: add test with APK for icon_id related exceptions 2021-10-01 16:44:14 +02:00
test-gradlew-fdroid gradlew-fdroid: use gradle zipballs from local cachedir, if present 2021-03-11 08:40:34 +01:00
testcommon.py convert tests/testcommon.py to black code format 2024-03-06 13:31:46 +00:00
update.TestCase gitlab-ci: install biplist if available, otherwise skip test_parse_ipa 2024-01-11 16:02:06 +01:00
urzip-badcert.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-badsig.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-release-unsigned.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip-release.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip.apk tests: try fdroid update after adding an APK to an existing repo 2014-06-04 21:54:55 -04:00
v2.only.sig_2.apk support APK Signature V2 when apksigner is installed 2019-02-01 09:17:56 +01:00
vcs.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
verify.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00