def METHOD_NAME(self):
    """Test config_url issuer method"""
    with override_settings(OTP_TOTP_ISSUER=lambda d: d.user.email):
        url = self.device.config_url
    parsed = urlsplit(url)
    params = parse_qs(parsed.query)
    self.assertEqual(parsed.scheme, "otpauth")
    self.assertEqual(parsed.netloc, "totp")
    self.assertEqual(parsed.path, "/alice%40example.com%3Aalice")
    self.assertIn("secret", params)
    self.assertIn("issuer", params)
    self.assertEqual(params["issuer"][0], "alice@example.com")