<commit_before>import boto

from moto import mock_dynamodb
from moto.dynamodb import dynamodb_backend


@mock_dynamodb
def test_create_table():
    name = "TestTable"
    dynamodb_backend.create_table(name)
    conn = boto.connect_dynamodb('the_key', 'the_secret')
    assert conn.list_tables() == ['TestTable']<commit_msg>Fix misnamed test<commit_after>import boto

from moto import mock_dynamodb
from moto.dynamodb import dynamodb_backend


@mock_dynamodb
def test_list_tables():
    name = "TestTable"
    dynamodb_backend.create_table(name)
    conn = boto.connect_dynamodb('the_key', 'the_secret')
    assert conn.list_tables() == ['TestTable']
{'fraction_non_alphanumeric': 0.09861325115562404, 'fraction_numerical': 0.0, 'mean_word_length': 5.701030927835052, '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': '5269701', 'n_tokens_mistral': 234, 'n_tokens_neox': 221, 'n_words': 45}