<commit_before>"""
Test the homepage.

:copyright: (c) 2017 <NAME>
:license: MPL-2.0

"""


# Sally hears about a new dog training webapp.
# She goes to the homepage.
def test_basic(homepage):
    """Basic testing."""
    assert homepage.title == ''


# She finds out a little more about the app.
def test_content_keywords(homepage):
    """Useful information on the homepage."""
    assert 'dog' in homepage.page_source
    assert 'training' in homepage.page_source
<commit_msg>break(app-tests): Fail homepage test by specifying 'Petiquette' as the title<commit_after>"""
Test the homepage.

:copyright: (c) 2017 <NAME>
:license: MPL-2.0

"""


# Sally hears about a new dog training webapp.
# She goes to the homepage.
def test_basic(homepage):
    """Basic testing."""
    assert homepage.title == 'Petiquette'


# She finds out a little more about the app.
def test_content_keywords(homepage):
    """Useful information on the homepage."""
    assert 'dog' in homepage.page_source
    assert 'training' in homepage.page_source

{'fraction_non_alphanumeric': 0.11639185257032007, 'fraction_numerical': 0.011639185257032008, 'mean_word_length': 4.083743842364532, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2471522', 'n_tokens_mistral': 337, 'n_tokens_neox': 307, 'n_words': 116}