SilentGhost
7ff32bc4b0
Refactor TestCase files into python modules
...
Convert all TestCase files into standard python modules to be run and
discovered by unittest.
2024-11-20 10:37:52 +01:00
Jochen Sprickerhof
81c0c9d4aa
Drop stats/known_apks.txt
...
Use repo/index-v2.json instead.
Also fix deprecated datetime.utcnow().
2024-10-31 09:20:26 +00: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
1b65e33835
make it easy to keep test artifacts from jobs
...
When troubleshooting things that are difficult to reproduce locally, like
different behaviors in the fedora_latest job, these changes make it easy to
keep the test files around after the tests run. For example, if PNGs are
processed differently by newer Python versions.
2024-05-07 12:58:23 +00:00
proletarius101
947217549a
feat: add servergitmirrors as a dict support
2024-02-14 16:50:39 +00:00
Hans-Christoph Steiner
b92e280eab
fix code format for new black rule
2023-03-20 14:47:48 +01:00
Jochen Sprickerhof
6118925387
Skip nightly test on Fedora with pip in $HOME
2023-02-08 18:32:13 +01:00
Jochen Sprickerhof
5715e377b0
nightly test: cleaup test directory
2023-02-08 18:14:38 +01:00
Jochen Sprickerhof
d29a486e31
tests: use context manager and/or standard setup temp files
2023-02-08 18:12:35 +01:00
Hans-Christoph Steiner
c2567d71d1
nightly: fail if *-nightly git repo is not publicly available
2022-11-16 20:16:21 +01:00
Hans-Christoph Steiner
15bd7057f0
nightly: add tests
2022-11-16 16:50:14 +01:00
Hans-Christoph Steiner
1c5506ae05
nightly: support OpenSSL 3.0 with Paramiko
...
OpenSSL 3.0 changed the default output format from PKCS#1 to PKCS#8,
which paramiko does not support.
https://www.openssl.org/docs/man3.0/man1/openssl-rsa.html#traditional
https://github.com/paramiko/paramiko/issues/1015
2022-11-16 14:40:08 +01:00
Jochen Sprickerhof
c89a9f0e8b
Add timeout argument to requests.(get,post)
2022-09-05 17:50:10 +02:00
Hans-Christoph Steiner
c6cf0468ed
nightly: update Raw URLs to fix breakage and avoid redirects
2022-08-26 07:18:19 +00:00