improve system tests

- log import errors for test modules
- log output only on test failure
- improve docker system test container
- use go 1.19 in docker system tests
- download go dependencies in docker container
- system tests: color failues output
- imrpove test result output
- do not install golangci-lint in system tests
This commit is contained in:
André Roth
2024-07-23 13:05:25 +02:00
parent 9f1860dff7
commit 4a0bdcbb64
8 changed files with 75 additions and 61 deletions

View File

@@ -23,6 +23,7 @@ class GPGAPITestAddKey(APITest):
"""
POST /gpg/key
"""
requiresGPG2 = True
def check(self):
with tempfile.NamedTemporaryFile(suffix=".pub") as keyring: