Hans-Christoph Steiner
acae5f1ac9
tests/run-tests: stop skipping install.TestCase
2024-11-01 00:57:45 +01:00
Hans-Christoph Steiner
560472e4e5
install: download from GitHub Releases
2024-11-01 00:16:13 +01:00
Hans-Christoph Steiner
1eb6516f16
install: add IPNS download method
2024-11-01 00:09:58 +01:00
Hans-Christoph Steiner
3da48e64bc
install: use Maven Central as additional source
2024-11-01 00:09:58 +01:00
Hans-Christoph Steiner
b77eba824b
install: convert to common.get_config()
2024-11-01 00:09:54 +01:00
Hans-Christoph Steiner
c7bc8d0fea
install: function to fetch, verify and install the F-Droid.apk
2024-10-31 23:49:30 +01:00
Hans-Christoph Steiner
681d705da0
install: reliable algorithm for picking devices from adb output
...
Versions of this algorithm are used elsewhere:
* https://github.com/openatx/adbutils/blob/master/adbutils/_adb.py
2024-10-31 21:55:20 +01:00
Hans-Christoph Steiner
49dcc53076
install: download_fdroid_apk() to fetch the recommended initial APK
2024-10-31 21:54:47 +01:00
Hans-Christoph Steiner
18f3acc32e
split out options from read_config()
...
There is no longer any reason for these to be intertwined.
This deliberately avoids touching some files as much as possible because
they are super tangled and due to be replaced. Those files are:
* fdroidserver/build.py
* fdroidserver/update.py
# Conflicts:
# tests/testcommon.py
# Conflicts:
# fdroidserver/btlog.py
# fdroidserver/import_subcommand.py
2024-05-08 16:26:46 +02:00
Hans-Christoph Steiner
1e5699e90c
remove all references to optparse (deprecated since Python 3.2)
2024-05-08 16:19:27 +02:00
Hans-Christoph Steiner
d05ff9db1d
easy changes to black code format in test cases
...
This does not change areas of code that should be manually reformatted.
2021-06-07 11:53:58 +02:00
Michael Pöhn
7d5f4d3ab9
added cwd setup boiler-plate to *.TestCase where missing
2018-08-14 10:34:13 +02:00
Hans-Christoph Steiner
17efa13183
tests: pre-set failfast as reminder of a handy time saver
2017-10-25 23:01:25 +02:00
Hans-Christoph Steiner
3768d7a4d6
refactor env handling for FDroidPopen to support .fdroid.* metadata
...
The start up sequence of processes that are based on the .fdroid.* metadata
is a bit different, so this ensures that the environment variables get
properly initialized in all cases.
This also creates a single function where the environment is set. Before
it was being set in multiple places across multiple files.
2016-03-23 17:16:27 +01:00
Daniel Martí
24ad0418e3
tests: switch to python3
2016-03-11 13:27:00 +00:00
Daniel Martí
ee9a296b64
Make pre-commit hook pass after python3 switch
2016-03-10 16:43:37 +00:00
Hans-Christoph Steiner
9e5dd19fc8
add test files to pre-commit hook and fix pep8 errors
2015-09-01 11:39:50 +02:00
Hans-Christoph Steiner
3b3d026ee3
fix install test by making sure common.options is set
2015-01-21 10:21:54 +01:00
Hans-Christoph Steiner
fa1cc48d57
run all SDK tools commands using SdkToolsPopen
2014-12-14 13:25:20 +01:00