Since this just requires HMACBackend you can drop this and use @pytest.mark.hmac as the decorator for the TestHOTP class.