ORIGIN_CONTRIBUTORS = """\ origin_id,person_id 2,0 2,2 0,0 0,1 0,2 """ assert ( base64.b64decode("aHR0cHM6Ly9leGFtcGxlLmNvbS9zd2gvZ3JhcGg=") == b"https://example.com/swh/graph" ) assert ( base64.b64decode("aHR0cHM6Ly9leGFtcGxlLmNvbS9zd2gvZ3JhcGgy") == b"https://example.com/swh/graph2" ) ORIGIN_URLS = """\ origin_id,origin_url_base64 2,aHR0cHM6Ly9leGFtcGxlLmNvbS9zd2gvZ3JhcGg= 0,aHR0cHM6Ly9leGFtcGxlLmNvbS9zd2gvZ3JhcGgy """ DEANONYMIZATION_TABLE = """\ sha256_base64,base64,escaped 8qhF7WQ2bmeoRbZipAaqtNw6QdOCDcpggLWCQLzITsI=,Sm9obiBEb2UgPGpkb2VAZXhhbXBsZS5vcmc+,John Doe aZA9TeLhVzqVDQHQOd53UABAZYyek0tY3vTo6VSlA4U=,SmFuZSBEb2UgPGpkb2VAZXhhbXBsZS5jb20+,Jane Doe UaCrgAZBvn1LBd2sAinmdNvAX/G4sjo1aJA9GDd9UUs=,SmFuZSBEb2UgPGpkb2VAZXhhbXBsZS5uZXQ+,Jane Doe """ # noqa DEANONYMIZED_ORIGIN_CONTRIBUTORS = """\ origin_id,person_base64,person_escaped 2,SmFuZSBEb2UgPGpkb2VAZXhhbXBsZS5jb20+,Jane Doe 2,Sm9obiBEb2UgPGpkb2VAZXhhbXBsZS5vcmc+,John Doe 0,SmFuZSBEb2UgPGpkb2VAZXhhbXBsZS5jb20+,Jane Doe 0,SmFuZSBEb2UgPGpkb2VAZXhhbXBsZS5uZXQ+,Jane Doe 0,Sm9obiBEb2UgPGpkb2VAZXhhbXBsZS5vcmc+,John Doe """ # noqa