mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Refactor TestCase files into python modules
Convert all TestCase files into standard python modules to be run and discovered by unittest.
This commit is contained in:
parent
4d6682bc70
commit
7ff32bc4b0
34 changed files with 471 additions and 1260 deletions
|
@ -20,7 +20,7 @@ ignore = "E123,E203,E402,E501,W503"
|
|||
[tool.black]
|
||||
skip-string-normalization = true
|
||||
target-version = ["py38"]
|
||||
include = '(^fdroid|\.pyi?|\.TestCase)$'
|
||||
include = '(^fdroid|\.pyi?)$'
|
||||
# These files will never be included in black runs. To run black on
|
||||
# one of thes files, remove it from this list.
|
||||
force-exclude = '''(
|
||||
|
@ -49,10 +49,10 @@ force-exclude = '''(
|
|||
| tests/gradle-release-checksums\.py
|
||||
| tests/openssl-version-check-test\.py
|
||||
| tests/valid-package-names/test\.py
|
||||
| tests/common\.TestCase
|
||||
| tests/publish\.TestCase
|
||||
| tests/signatures\.TestCase
|
||||
| tests/update\.TestCase
|
||||
| tests/test_common\.py
|
||||
| tests/test_publish\.py
|
||||
| tests/test_signatures\.py
|
||||
| tests/test_update\.py
|
||||
)$'''
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue