<commit_before>#!/usr/bin/env python
"""A library for tests."""



import codecs
import datetime
import functools
import itertools
import os
import pdb
import re
import shutil
import signal
import socket
import StringIO
import subprocess
import sys
import tempfile
import time
import types
import unittest
import urlparse


from M2Crypto import X509

import mock

from selenium.common import exceptions
from selenium.webdriver.common import action_chains
from selenium.webdriver.common import keys
from selenium.webdriver.support import select

import logging
import unittest

from grr.client import actions
from grr.client import comms
from grr.client import vfs
from grr.client.client_actions import standard

from grr.lib import access_control
from grr.lib import action_mocks
from grr.lib import aff4
from grr.lib import config_lib

from grr.lib import data_store
from grr.lib import email_alerts
from grr.lib import flags

from grr.lib import flow

from grr.lib import maintenance_utils
from grr.lib import queue_manager
from grr.lib import queues as queue_config
from grr.lib import rdfvalue
from grr.lib import registry
from grr.lib import rekall_profile_server

# Server components must also be imported even when the client code is tested.
# pylint: disable=unused-import
from grr.lib import server_plugins
# pylint: enable=unused-import
from grr.lib import startup
from grr.lib import stats<commit_msg>Reorder dependent libraries for testlib<commit_after>#!/usr/bin/env python
"""A library for tests."""



import codecs
import datetime
import functools
import itertools
import logging
import mock
import os
import pdb
import re
import shutil
import signal
import socket
import StringIO
import subprocess
import sys
import tempfile
import time
import types
import unittest
import urlparse


from M2Crypto import X509

from selenium.common import exceptions
from selenium.webdriver.common import action_chains
from selenium.webdriver.common import keys
from selenium.webdriver.support import select

from grr.client import actions
from grr.client import comms
from grr.client import vfs
from grr.client.client_actions import standard

from grr.lib import access_control
from grr.lib import action_mocks
from grr.lib import aff4
from grr.lib import config_lib

from grr.lib import data_store
from grr.lib import email_alerts
from grr.lib import flags

from grr.lib import flow

from grr.lib import maintenance_utils
from grr.lib import queue_manager
from grr.lib import queues as queue_config
from grr.lib import rdfvalue
from grr.lib import registry
from grr.lib import rekall_profile_server

# Server components must also be imported even when the client code is tested.
# pylint: disable=unused-import
from grr.lib import server_plugins
# pylint: enable=unused-import
from grr.lib import startup
from grr.lib import stats
{'fraction_non_alphanumeric': 0.038135593220338986, 'fraction_numerical': 0.0035310734463276836, 'mean_word_length': 5.337807606263982, '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': '297502', 'n_tokens_mistral': 833, 'n_tokens_neox': 804, 'n_words': 343}