<commit_before>import boto
from nose.tools import assert_raises
from sure import expect

from moto import mock_swf
from moto.swf.models import ActivityType
from moto.swf.exceptions import (
    SWFUnknownResourceFault,
    SWFTypeAlreadyExistsFault,
    SWFTypeDeprecatedFault,
    SWFSerializationException,
)


# RegisterActivityType endpoint
@mock_swf
def test_register_activity_type():
    conn = boto.connect_swf("the_key", "the_secret")<commit_msg>Remove unused import in SWF test<commit_after>import boto
from nose.tools import assert_raises
from sure import expect

from moto import mock_swf
from moto.swf.exceptions import (
    SWFUnknownResourceFault,
    SWFTypeAlreadyExistsFault,
    SWFTypeDeprecatedFault,
    SWFSerializationException,
)


# RegisterActivityType endpoint
@mock_swf
def test_register_activity_type():
    conn = boto.connect_swf("the_key", "the_secret")
{'fraction_non_alphanumeric': 0.060948081264108354, 'fraction_numerical': 0.0, 'mean_word_length': 5.823076923076923, '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': '1869730', 'n_tokens_mistral': 283, 'n_tokens_neox': 278, 'n_words': 66}