system tests: support fitureCmds and allow dirmgr to startup

- fixes a race condition, where dirmgr does not seem to  be ready
- imports secret key for signing if gpg2 is used
This commit is contained in:
André Roth
2024-10-08 02:05:18 +02:00
parent 704af8f2f0
commit 14a343a0d7
3 changed files with 13 additions and 2 deletions

View File

@@ -55,6 +55,8 @@ class APITest(BaseTest):
if os.path.exists(os.path.join(os.environ["HOME"], self.aptlyDir, "upload")):
shutil.rmtree(os.path.join(os.environ["HOME"], self.aptlyDir, "upload"))
self.prepare_fixture()
def debug_output(self):
return APITest.aptly_out.get_contents()