<commit_before><commit_msg>Test settings<commit_after>from django.conf import settings

def test_debug():
    assert settings.DEBUG == False
    assert settings.TEMPLATE_DEBUG == False

def test_api_keys():
    assert settings.GOOGLE_ANALYTICS_ID == 'UA-00000000-1'
    assert settings.GOOGLE_ANALYTICS_HOST == 'angkot.web.id'
    assert settings.MAPBOX_KEY == 'mapbox-key'
    assert settings.BING_MAPS_KEY == 'bingmaps-key'

def test_misc():
    assert settings.USERVOICE_CODE == 'uservoice-code'

    assert 'angkot.web.id' in settings.ALLOWED_HOSTS \
           or '*' in settings.ALLOWED_HOSTS

def test_oauth_keys():
    assert settings.GOOGLE_OAUTH2_CLIENT_ID == 'google-oauth2-client-id'
    assert settings.GOOGLE_OAUTH2_CLIENT_SECRET == 'google-oauth2-client-secret'

    assert settings.FACEBOOK_APP_ID == 'facebook-app-id'
    assert settings.FACEBOOK_API_SECRET == 'facebook-api-secret'

    assert settings.TWITTER_CONSUMER_KEY == 'twitter-consumer-key'
    assert settings.TWITTER_CONSUMER_SECRET == 'twitter-consumer-secret'

{'fraction_non_alphanumeric': 0.10662824207492795, 'fraction_numerical': 0.012487992315081652, 'mean_word_length': 4.5132275132275135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '6317840', 'n_tokens_mistral': 380, 'n_tokens_neox': 357, 'n_words': 59}