Changeset View
Changeset View
Standalone View
Standalone View
swh/graph/tests/test_origin_contributors.py
| Show All 27 Lines | |||||
| # FIXME: do not hardcode ids here; they should be dynamically loaded | # FIXME: do not hardcode ids here; they should be dynamically loaded | ||||
| # from the test graph | # from the test graph | ||||
| ORIGIN_CONTRIBUTORS = """\ | ORIGIN_CONTRIBUTORS = """\ | ||||
| origin_SWHID,person_id | origin_SWHID,person_id | ||||
| swh:1:ori:83404f995118bd25774f4ac14422a8f175e7a054,0 | swh:1:ori:83404f995118bd25774f4ac14422a8f175e7a054,0 | ||||
| swh:1:ori:83404f995118bd25774f4ac14422a8f175e7a054,2 | swh:1:ori:83404f995118bd25774f4ac14422a8f175e7a054,2 | ||||
| swh:1:ori:8f50d3f60eae370ddbf85c86219c55108a350165,0 | swh:1:ori:8f50d3f60eae370ddbf85c86219c55108a350165,0 | ||||
| swh:1:ori:8f50d3f60eae370ddbf85c86219c55108a350165,null | |||||
| swh:1:ori:8f50d3f60eae370ddbf85c86219c55108a350165,1 | swh:1:ori:8f50d3f60eae370ddbf85c86219c55108a350165,1 | ||||
| swh:1:ori:8f50d3f60eae370ddbf85c86219c55108a350165,2 | swh:1:ori:8f50d3f60eae370ddbf85c86219c55108a350165,2 | ||||
| """ | """ | ||||
| DEANONYMIZATION_TABLE = """\ | DEANONYMIZATION_TABLE = """\ | ||||
| sha256_base64,base64,escaped | sha256_base64,base64,escaped | ||||
| 8qhF7WQ2bmeoRbZipAaqtNw6QdOCDcpggLWCQLzITsI=,Sm9obiBEb2UgPGpkb2VAZXhhbXBsZS5vcmc+,John Doe <jdoe@example.org> | 8qhF7WQ2bmeoRbZipAaqtNw6QdOCDcpggLWCQLzITsI=,Sm9obiBEb2UgPGpkb2VAZXhhbXBsZS5vcmc+,John Doe <jdoe@example.org> | ||||
| aZA9TeLhVzqVDQHQOd53UABAZYyek0tY3vTo6VSlA4U=,SmFuZSBEb2UgPGpkb2VAZXhhbXBsZS5jb20+,Jane Doe <jdoe@example.com> | aZA9TeLhVzqVDQHQOd53UABAZYyek0tY3vTo6VSlA4U=,SmFuZSBEb2UgPGpkb2VAZXhhbXBsZS5jb20+,Jane Doe <jdoe@example.com> | ||||
| ▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines | |||||