Merge pull request #2512 from ecordell/tufmetadata
Add tufmetadata endpoint
This commit is contained in:
commit
2bc619137a
12 changed files with 292 additions and 1 deletions
|
@ -4485,6 +4485,7 @@ class TestRepositoryManifestSecurity(ApiTestCase):
|
|||
def test_get_devtable(self):
|
||||
self._run_test('GET', 404, 'devtable', None)
|
||||
|
||||
|
||||
class TestRepositoryManifestLabels(ApiTestCase):
|
||||
def setUp(self):
|
||||
ApiTestCase.setUp(self)
|
||||
|
|
|
@ -4540,6 +4540,8 @@ class TestRepositoryImageSecurity(ApiTestCase):
|
|||
expected_code=200)
|
||||
|
||||
|
||||
|
||||
|
||||
class TestSuperUserCustomCertificates(ApiTestCase):
|
||||
def test_custom_certificates(self):
|
||||
self.login(ADMIN_ACCESS_USER)
|
||||
|
|
|
@ -64,6 +64,8 @@ class TestConfig(DefaultConfig):
|
|||
SECURITY_SCANNER_API_VERSION = 'v1'
|
||||
SECURITY_SCANNER_ENGINE_VERSION_TARGET = 1
|
||||
SECURITY_SCANNER_API_TIMEOUT_SECONDS = 1
|
||||
|
||||
FEATURE_SIGNING = True
|
||||
|
||||
SIGNING_ENGINE = 'gpg2'
|
||||
|
||||
|
|
Reference in a new issue