Changeset View
Changeset View
Standalone View
Standalone View
swh/deposit/tests/api/test_get_file.py
- This file was moved from swh/deposit/tests/api/test_deposit_content.py.
# Copyright (C) 2020 The Software Heritage developers | # Copyright (C) 2020 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU General Public License version 3, or any later version | # License: GNU General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
"""Tests 'GET File-IRI'.""" | |||||
from django.urls import reverse | from django.urls import reverse | ||||
from rest_framework import status | from rest_framework import status | ||||
from swh.deposit.config import CONT_FILE_IRI | from swh.deposit.config import CONT_FILE_IRI | ||||
from swh.deposit.models import DEPOSIT_STATUS_DETAIL | from swh.deposit.models import DEPOSIT_STATUS_DETAIL | ||||
from swh.deposit.parsers import parse_xml | from swh.deposit.parsers import parse_xml | ||||
Show All 36 Lines |