<commit_before>from django.conf.urls.defaults import patterns, url
from .views import reference_case_attachment_view

urlpatterns = patterns('',
    url(r'^casexml/attachment/(?P<domain>[\w\.:-]+)/(?P<case_id>[\w\-]+)/(?P<attachment_id>.*)/(?P<attachment_src>.*)$',
        reference_case_attachment_view, name="api_case_attachment")
)
<commit_msg>fix url that was only needed in tests<commit_after>from django.conf.urls.defaults import patterns, url
from .views import reference_case_attachment_view

urlpatterns = patterns('',
    url(r'^casexml/attachment/(?P<domain>[\w\.:-]+)/(?P<case_id>[\w\-]+)/(?P<attachment_id>.*)$',
        reference_case_attachment_view, name="api_case_attachment")
)

{'fraction_non_alphanumeric': 0.1836441893830703, 'fraction_numerical': 0.0, 'mean_word_length': 5.98, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7188169', 'n_tokens_mistral': 237, 'n_tokens_neox': 230, 'n_words': 35}