import pytest
import rest_framework

pytest_plugins = (
        "tests.fixtures.points_fixture",
)


@pytest.fixture(scope='function')
def client():
    """
    Setup an app client, this gets executed for each test function.
    :param app: Pytest fixture
    :return: Django rest framework API client
    """

    from rest_framework.test import APIClient
    return APIClient()
