Changeset View
Changeset View
Standalone View
Standalone View
swh/web/tests/misc/test_iframe.py
# Copyright (C) 2021 The Software Heritage developers | # Copyright (C) 2021 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 Affero General Public License version 3, or any later version | # License: GNU Affero 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 | ||||
from hypothesis import given | from hypothesis import given | ||||
from swh.model.hashutil import hash_to_bytes | from swh.model.hashutil import hash_to_bytes | ||||
from swh.model.identifiers import CoreSWHID, ObjectType | from swh.model.swhids import CoreSWHID, ObjectType | ||||
from swh.web.common.utils import reverse | from swh.web.common.utils import reverse | ||||
from swh.web.tests.strategies import ( | from swh.web.tests.strategies import ( | ||||
content_swhid, | content_swhid, | ||||
directory_swhid, | directory_swhid, | ||||
revision_swhid, | revision_swhid, | ||||
unknown_directory, | unknown_directory, | ||||
) | ) | ||||
from swh.web.tests.utils import check_html_get_response | from swh.web.tests.utils import check_html_get_response | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |