def test_many_slashes(self):
        """Return the full API URL when called with a suffix with too many slashes."""
        end = Endpoint(client=self.client, endpoint=self.ep_path)

        suffix = "//help///"
        url = f"{self.api_url}/help"

        # Make sure the values match
        self.assertEqual(end._url(suffix), url)
    def test_normal(self):
        """Return the full API URL when called with correct parameters."""
        end = Endpoint(client=self.client, endpoint=self.ep_path)

        suffix = "/help"
        url = f"{self.api_url}{suffix}"

        # Make sure the values match
        self.assertEqual(end._url(suffix), url)
    def test_no_slashes(self):
        """Return the full API URL when called with a suffix with no slash."""
        end = Endpoint(client=self.client, endpoint=self.ep_path)

        suffix = "help"
        url = f"{self.api_url}/{suffix}"

        # Make sure the values match
        self.assertEqual(end._url(suffix), url)