<gh_stars>0
from apiwrapper.endpoints.avatar import Avatar
from tests.endpoints.test_endpoint import EndpointTest


class AvatarTest(EndpointTest):
    __base_endpoint_url = "/avatar/%s"

    @property
    def _base_endpoint(self):
        return self.__base_endpoint_url % self.random_uuid

    def setUp(self):
        super().setUp(Avatar)

    def test_get_base_endpoint(self):
        endpoint_should_be = self._base_endpoint

        endpoint_to_check = self.test_class._get_base_endpoint(
            self.random_uuid)

        self.assert_parameters(endpoint_should_be, endpoint_to_check)

    def test_get_avatar_by_id(self):
        endpoint_should_be = self._base_endpoint

        endpoint_to_check = self.test_class.get_avatar_by_id(
            self.random_uuid)

        self.assert_parameters(endpoint_should_be, endpoint_to_check)

from apiwrapper.endpoints.avatar import Avatar
from tests.endpoints.test_endpoint import EndpointTest


class AvatarTest(EndpointTest):
    __base_endpoint_url = "/avatar/%s"

    @property
    def _base_endpoint(self):
        return self.__base_endpoint_url % self.random_uuid

    def setUp(self):
        super().setUp(Avatar)

    def test_get_base_endpoint(self):
        endpoint_should_be = self._base_endpoint

        endpoint_to_check = self.test_class._get_base_endpoint(
            self.random_uuid)

        self.assert_parameters(endpoint_should_be, endpoint_to_check)

    def test_get_avatar_by_id(self):
        endpoint_should_be = self._base_endpoint

        endpoint_to_check = self.test_class.get_avatar_by_id(
            self.random_uuid)

        self.assert_parameters(endpoint_should_be, endpoint_to_check)