mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
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:
@@ -267,7 +267,7 @@ class BaseTest(object):
|
||||
self.webServerUrl = self.start_webserver(os.path.join(os.path.dirname(inspect.getsourcefile(self.__class__)),
|
||||
self.fixtureWebServer))
|
||||
|
||||
if self.requiresGPG2:
|
||||
if self.requiresGPG2 or self.gpgFinder.gpg2:
|
||||
self.run_cmd([
|
||||
self.gpgFinder.gpg2, "--import",
|
||||
os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files") + "/aptly.sec"], expected_code=None)
|
||||
|
||||
Reference in New Issue
Block a user