When the Fernet token implementation landed, it was introduced with it's own testing layer [1]. These tests were designed to model the behavior specific to Fernet tokens. Fernet tokens should have the same V3 behavior as the rest of the token providers available in Keystone, which has been worked towards [2]. If the behavior is the same, then we should use the same tests with each provider. The TestFernetTokenProvider test cases should be analyzed and ported to TestAuth if not already there. Then we can leverage the work across all providers without having a bunch of tests that describe the same behavior for different providers.
[1] https://github.com/openstack/keystone/blob/3910931b464c143b3be38c39e70038498860a8bd/keystone/tests/unit/test_v3_auth.py#L4053
[2] https://review.openstack.org/#/c/164348/
Related fix proposed to branch: master /review. openstack. org/167832
Review: https:/