<commit_before>import logging
import pytest

from API.apiCalls import ApiCalls
from apiCalls_integration_data_setup import SetupIridaData

base_URL = "http://localhost:8080/api"
username = "admin"
password = "<PASSWORD>"
client_id = ""
client_secret = ""

@pytest.fixture(scope="class")
def api(request):
    logging.warn("Starting IRIDA for integration tests.")
    branch = request.config.getoption("--irida-version")<commit_msg>Use session scope instead of class scope.<commit_after>import logging
import pytest

from API.apiCalls import ApiCalls
from apiCalls_integration_data_setup import SetupIridaData

base_URL = "http://localhost:8080/api"
username = "admin"
password = "<PASSWORD>"
client_id = ""
client_secret = ""

@pytest.fixture(scope="session")
def api(request):
    logging.warn("Starting IRIDA for integration tests.")
    branch = request.config.getoption("--irida-version")
{'fraction_non_alphanumeric': 0.11771300448430494, 'fraction_numerical': 0.008968609865470852, 'mean_word_length': 5.9765625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5880187', 'n_tokens_mistral': 281, 'n_tokens_neox': 274, 'n_words': 65}