Changeset View
Changeset View
Standalone View
Standalone View
swh/vault/tests/test_cache.py
# Copyright (C) 2017 The Software Heritage developers | # Copyright (C) 2017 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 | ||||
from swh.model import hashutil | from swh.model import hashutil | ||||
from swh.model.identifiers import CoreSWHID | from swh.model.swhids import CoreSWHID | ||||
TEST_TYPE_1 = "revision_gitfast" | TEST_TYPE_1 = "revision_gitfast" | ||||
TEST_TYPE_2 = "directory" | TEST_TYPE_2 = "directory" | ||||
TEST_SWHID_1 = CoreSWHID.from_string( | TEST_SWHID_1 = CoreSWHID.from_string( | ||||
"swh:1:rev:4a4b9771542143cf070386f86b4b92d42966bdbc" | "swh:1:rev:4a4b9771542143cf070386f86b4b92d42966bdbc" | ||||
) | ) | ||||
TEST_SWHID_2 = CoreSWHID.from_string( | TEST_SWHID_2 = CoreSWHID.from_string( | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |