<commit_before>from lettuce import *
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from code import application
from nose.tools import assert_equals
import os


@before.all
def before_all():
    world.app = application.app.test_client()
    # world.driver = webdriver.Chrome()

    # This is the only code you need to edit in your existing scripts.
    # The command_executor tells the test to run on Sauce, while the desired_capabilities
    # parameter tells us which browsers and OS to spin up.
    desired_cap = {
        'platform': "Linux",
        'browserName': "chrome",
        'version': "31",
    }
    world.driver = webdriver.Remote(
        command_executor='http://YOUR_SAUCE_USERNAME:YOUR_SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub',
        desired_capabilities=desired_cap)


@after.all
def end(aux):
    world.driver.close()
    world.driver.quit()

@step('I have the string "(.*)"')<commit_msg>still working on travis ci<commit_after>from lettuce import *
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from code import application
from nose.tools import assert_equals
import os


@before.all
def before_all():
    world.app = application.app.test_client()
    # world.driver = webdriver.Chrome()

    # This is the only code you need to edit in your existing scripts.
    # The command_executor tells the test to run on Sauce, while the desired_capabilities
    # parameter tells us which browsers and OS to spin up.
    desired_cap = {
        'platform': "Linux",
        'browserName': "chrome",
        'version': "31",
    }
    world.driver = webdriver.Remote(
        command_executor='http://SAUCE_USERNAME:SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub',
        desired_capabilities=desired_cap)


@after.all
def end(aux):
    world.driver.close()
    world.driver.quit()

@step('I have the string "(.*)"')
{'fraction_non_alphanumeric': 0.1003659174072138, 'fraction_numerical': 0.004181913225300575, 'mean_word_length': 3.5899280575539567, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '777938', 'n_tokens_mistral': 605, 'n_tokens_neox': 577, 'n_words': 170}