import pytest

from helpers.api_helper import ApiHelper


@pytest.fixture(scope="session", autouse=True)
def setup(request):
    environment_url = request.config.getoption("env_url")
    ApiHelper(environment_url)


def pytest_addoption(parser):
    parser.addoption("--env_url", default="https://swapi.dev/api")

88ae4ba188c97692ebe7093f3ec80bb43667c70b
<mask token>

<mask token>


@pytest.fixture(scope='session', autouse=True)
def setup(request):
    environment_url = request.config.getoption('env_url')
    ApiHelper(environment_url)


<mask token>

<mask token>


@pytest.fixture(scope='session', autouse=True)
def setup(request):
    environment_url = request.config.getoption('env_url')
    ApiHelper(environment_url)


def pytest_addoption(parser):
    parser.addoption('--env_url', default='https://swapi.dev/api')

import pytest
from helpers.api_helper import ApiHelper


@pytest.fixture(scope='session', autouse=True)
def setup(request):
    environment_url = request.config.getoption('env_url')
    ApiHelper(environment_url)


def pytest_addoption(parser):
    parser.addoption('--env_url', default='https://swapi.dev/api')

import pytest

from helpers.api_helper import ApiHelper


@pytest.fixture(scope="session", autouse=True)
def setup(request):
    environment_url = request.config.getoption("env_url")
    ApiHelper(environment_url)


def pytest_addoption(parser):
    parser.addoption("--env_url", default="https://swapi.dev/api")
