<commit_before>"""
UI-level acceptance tests for OpenAssessment.
"""
# pylint: disable=arguments-differ, dangerous-default-value
from __future__ import absolute_import, print_function

from functools import wraps
import os
import time
import unittest

import ddt
from six.moves import range

from acceptance.auto_auth import AutoAuthPage  # pylint: disable=import-error
from acceptance.pages import (  # pylint: disable=import-error
    AssessmentPage,
    GradePage,
    StaffAreaPage,
    StudioSettingsPage,
    SubmissionPage
)
from bok_choy.promise import BrokenPromise, EmptyPromise
from bok_choy.web_app_test import WebAppTest
from nose.plugins.attrib import attr
from pyinstrument import Profiler

# This value is generally used in jenkins, but not locally
PROFILING_ENABLED = os.environ.get('ORA_PROFILING_ENABLED', False)
<commit_msg>Fix import inside acceptance tests.<commit_after>"""
UI-level acceptance tests for OpenAssessment.
"""
# pylint: disable=arguments-differ, dangerous-default-value
from __future__ import absolute_import, print_function

from functools import wraps
import os
import time
import unittest

from bok_choy.promise import BrokenPromise, EmptyPromise
from bok_choy.web_app_test import WebAppTest
import ddt
from nose.plugins.attrib import attr
from pyinstrument import Profiler

from six.moves import range

from ..acceptance.auto_auth import AutoAuthPage  # pylint: disable=import-error
from ..acceptance.pages import (AssessmentPage, GradePage, StaffAreaPage,  # pylint: disable=import-error
                                StudioSettingsPage, SubmissionPage)

# This value is generally used in jenkins, but not locally
PROFILING_ENABLED = os.environ.get('ORA_PROFILING_ENABLED', False)

{'fraction_non_alphanumeric': 0.06202898550724638, 'fraction_numerical': 0.0, 'mean_word_length': 5.322344322344322, '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': '6311153', 'n_tokens_mistral': 503, 'n_tokens_neox': 507, 'n_words': 156}