<commit_before>import os
from splinter.browser import Browser
import subprocess
import time

def before_all(context):
    context.base_url = os.environ.get('WEBPARTICIPATION_ROOT')
    context.server = subprocess.Popen('python manage.py runserver 8200', shell=True)
    context.browser = Browser('chrome')
    time.sleep(5)


def after_all(context):
    context.browser.quit()
    context.browser = None
    subprocess.Popen('lsof -t -i:8200 | xargs kill', shell=True)
    context.server = None<commit_msg>[Beneth] - changed tests to use localhost<commit_after>import os
from splinter.browser import Browser
import subprocess
import time

def before_all(context):
    context.base_url = "http://localhost:8200"
    context.server = subprocess.Popen('python manage.py runserver 8200', shell=True)
    context.browser = Browser('chrome')
    time.sleep(5)


def after_all(context):
    context.browser.quit()
    context.browser = None
    subprocess.Popen('lsof -t -i:8200 | xargs kill', shell=True)
    context.server = None
{'fraction_non_alphanumeric': 0.1123046875, 'fraction_numerical': 0.021484375, 'mean_word_length': 4.338541666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1743692', 'n_tokens_mistral': 340, 'n_tokens_neox': 318, 'n_words': 76}