Merge pull request #2512 from ecordell/tufmetadata

Add tufmetadata endpoint
This commit is contained in:
josephschorr 2017-04-07 17:16:11 -04:00 committed by GitHub
commit 2bc619137a
12 changed files with 292 additions and 1 deletions

View file

@ -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)

View file

@ -4540,6 +4540,8 @@ class TestRepositoryImageSecurity(ApiTestCase):
expected_code=200)
class TestSuperUserCustomCertificates(ApiTestCase):
def test_custom_certificates(self):
self.login(ADMIN_ACCESS_USER)

View file

@ -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'