PersonView.as_view(), name="brambling_user_profile"), url(r'^profile/card/add/(?P<api_type>test|live)/$', CreditCardAddView.as_view(), name="brambling_user_card_add"), url(r'^profile/card/delete/(?P<pk>\d+)/$', CreditCardDeleteView.as_view(), name="brambling_user_card_delete"), url(r'^profile/dwolla_connect/$', UserDwollaConnectView.as_view(), name="brambling_user_dwolla_connect"), url(r'^home/$', HomeView.as_view(), name="brambling_home"), url(r'^daguerre/', include('daguerre.urls')), url(r'^404/$', 'django.views.defaults.page_not_found'), url(r'^418/$', TemplateView.as_view(template_name='418.html')), url(r'^500/$', 'django.views.defaults.server_error'), url(r'^500/raise/$', ExceptionView.as_view()), url(r'^mail/confirmation/$', ConfirmationPreviewView.as_view()), url(r'^mail/order_receipt/$', OrderReceiptPreviewView.as_view()), url(r'^mail/order_alert/$', OrderAlertPreviewView.as_view()), url(r'^mail/invite_event/$', InvitePreviewView.as_view(kind=Invite.EVENT_EDITOR)), url(r'^mail/invite_org/$', InvitePreviewView.as_view(kind=Invite.ORGANIZATION_EDITOR)), url(r'^webhooks/dwolla/$', DwollaWebhookView.as_view(), name='brambling_dwolla_webhook'), url(r'^(?P<organization_slug>[\w-]+)/', include(organization_urlpatterns)), )
url(r'^404/$', 'django.views.defaults.page_not_found'), url(r'^418/$', TemplateView.as_view(template_name='418.html')), url(r'^500/$', 'django.views.defaults.server_error'), url(r'^500/raise/$', ExceptionView.as_view()), url(r'^ping/$', lambda r: HttpResponse('A-Okay!')), url(r'^mail/confirmation/$', ConfirmationPreviewView.as_view()), url(r'^mail/order_receipt/$', OrderReceiptPreviewView.as_view()), url(r'^mail/order_alert/$', OrderAlertPreviewView.as_view()), url(r'^mail/invite_event/$', InvitePreviewView.as_view(kind='event')), url(r'^mail/invite_event_edit/$', InvitePreviewView.as_view(kind='event_edit')), url(r'^mail/invite_event_view/$', InvitePreviewView.as_view(kind='event_view')), url(r'^mail/invite_org_owner/$', InvitePreviewView.as_view(kind='org_owner')), url(r'^mail/invite_org_edit/$', InvitePreviewView.as_view(kind='org_edit')), url(r'^mail/invite_org_view/$', InvitePreviewView.as_view(kind='org_view')), url(r'^mail/invite_transfer/$', InvitePreviewView.as_view(kind='transfer')), url(r'^mail/daily_digest/$', DailyDigestPreviewView.as_view()), url(r'^webhooks/dwolla/$', DwollaWebhookView.as_view(), name='brambling_dwolla_webhook'), url(r'^api/', include('brambling.api.urls')), url(r'^create/$', EventCreateView.as_view(), name="brambling_event_create"), url(r'^(?P<organization_slug>[\w-]+)/', include(organization_urlpatterns)), ]
def setUp(self): self.factory = RequestFactory() self.view = DwollaWebhookView.as_view()