def get_id(addon):
    guid = addon.guid
    if len(guid) <= 64:
        return guid
    return hashlib.sha256(guid).hexdigest()
Test that the correct thread count is returned in the JS context
dataset/ETHPy150Open mozilla/addons-server/src/olympia/lib/crypto/packaged.py/get_id--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/connectmessages/tests/test_views.py/InboxViewTest.test_correct_count_js_context