<commit_before># This file contains pytest fixtures as well as some config

API_BASE = "http://localhost:5555/n/"
TEST_MAX_DURATION_SECS = 240
TEST_GRANULARITY_CHECK_SECS = 0.1

# we don't want to commit passwords to the repo.
# load them from an external json file.
try:
    from accounts import credentials
    passwords = []
    for account in credentials:
        passwords.append((account['user'], account['password']))
except IOError as e:
    print ("Error: test accounts file not found."
           "You need to create accounts.py\n"
           "File format: credentials = [{'user': '<EMAIL>', "
           "'password': '<PASSWORD>'}]")
    raise<commit_msg>Fix check for accounts.py file in system tests.<commit_after># This file contains pytest fixtures as well as some config

API_BASE = "http://localhost:5555/n/"
TEST_MAX_DURATION_SECS = 240
TEST_GRANULARITY_CHECK_SECS = 0.1

# we don't want to commit passwords to the repo.
# load them from an external json file.
try:
    from accounts import credentials
    passwords = []
    for account in credentials:
        passwords.append((account['user'], account['password']))
except ImportError:
    print ("Error: test accounts file not found. "
           "You need to create accounts.py\n"
           "File format: credentials = [{'user': '<EMAIL>', "
           "'password': '<PASSWORD>'}]")
    raise
{'fraction_non_alphanumeric': 0.11273792093704246, 'fraction_numerical': 0.013177159590043924, 'mean_word_length': 3.395498392282958, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '206495', 'n_tokens_mistral': 405, 'n_tokens_neox': 388, 'n_words': 142}