@staticmethod
    def get_csrf_signature(key, token):
        hashed = hmac.new(key, token, _sha)
        return base64.b64encode(hashed.digest())
Test that the get_attribute_list method can be called without error.
dataset/ETHPy150Open benoitc/dj-webmachine/webmachine/forms.py/OAuthAuthenticationForm.get_csrf_signature--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/pie/test_api.py/TestKmipClient.test_get_attribute_list