In TestGetAssertion::test_allow_list_id_wrong_type and TestGetAssertion::test_allow_list_missing_id the "type" attribute should be "public-key" instead of b"public-key", i.e. str instead of bytes. Currently the tests succeed even for an authenticator that doesn't check the presence and data type of the "id" attribute, because the authenticator will return an error caused by the wrong data type of the "type" attribute.
In
TestGetAssertion::test_allow_list_id_wrong_type
andTestGetAssertion::test_allow_list_missing_id
the "type" attribute should be"public-key"
instead ofb"public-key"
, i.e. str instead of bytes. Currently the tests succeed even for an authenticator that doesn't check the presence and data type of the "id" attribute, because the authenticator will return an error caused by the wrong data type of the "type" attribute.