test(endpoints/api): add in test for tag
this adds tests for the pro oci model Issue: https://coreosdev.atlassian.net/browse/QUAY-632 - [ ] It works! - [ ] Comments provide sufficient explanations for the next contributor - [ ] Tests cover changes and corner cases - [ ] Follows Quay syntax patterns and format
This commit is contained in:
parent
337b68abdc
commit
400b346953
7 changed files with 90 additions and 10 deletions
|
@ -8,7 +8,7 @@ from endpoints.api import (resource, nickname, require_repo_read, require_repo_w
|
|||
RepositoryParamResource, log_action, validate_json_request, path_param,
|
||||
parse_args, query_param, truthy_bool, disallow_for_app_repositories)
|
||||
from endpoints.api.image import image_view
|
||||
from endpoints.api.tag_interface.models_pre_oci import pre_oci_model
|
||||
from endpoints.api.tag_models_pre_oci import pre_oci_model
|
||||
from endpoints.exception import NotFound
|
||||
from endpoints.v2.manifest import _generate_and_store_manifest
|
||||
from util.names import TAG_ERROR, TAG_REGEX
|
||||
|
|
Reference in a new issue