1. Tobias McNulty
  2. rapidsms-from-django

Commits

Tobias McNulty  committed b237824

add TEST_RUNNER; add a few more INSTALLED_APPS; fupdate TABS -> RAPIDSMS_TABS

  • Participants
  • Parent commits af0ff29
  • Branches default

Comments (0)

Files changed (2)

File rapidtest/settings.py

View file
  • Ignore whitespace
     'rapidsms',
     'rapidsms.contrib.ajax',
     'rapidsms.contrib.httptester',
+    'rapidsms.contrib.locations',
     'rapidsms.contrib.messagelog',
     'rapidsms.contrib.messaging',
+    'rapidsms.contrib.registration',
+    'rapidsms.contrib.scheduler',
+    'rapidsms.contrib.training',
     'rapidsms.contrib.djangoadmin',
     'rapidsms.contrib.default',
 )
 
+TEST_RUNNER = "django_nose.NoseTestSuiteRunner"
+
 INSTALLED_BACKENDS = {
         "message_tester" : {"ENGINE": "rapidsms.backends.bucket" }
 }
 
-TABS = [
-    ('rapidsms.views.dashboard', 'Dashboard'),
-    ('rapidsms.contrib.httptester.views.generate_identity', 'Message Tester'),
+RAPIDSMS_TABS = [
+    ('rapidsms.contrib.httptester.views.generate_identity', None),
     ('rapidsms.contrib.messagelog.views.message_log', 'Message Log'),
     ('rapidsms.contrib.messaging.views.messaging', 'Messaging'),
 ]

File rapidtest/urls.py

View file
  • Ignore whitespace
 urlpatterns = patterns('',
     # Example:
     (r'^rapidsms/', include('rapidsms.urls')),
+    (r'^rapidsms/', include('rapidsms.contrib.ajax.urls')),
     (r'^rapidsms/', include('rapidsms.contrib.httptester.urls')),
+    (r'^rapidsms/', include('rapidsms.contrib.locations.urls')),
     (r'^rapidsms/', include('rapidsms.contrib.messagelog.urls')),
     (r'^rapidsms/', include('rapidsms.contrib.messaging.urls')),
+    (r'^rapidsms/', include('rapidsms.contrib.registration.urls')),
+    (r'^rapidsms/', include('rapidsms.contrib.scheduler.urls')),
+    (r'^rapidsms/', include('rapidsms.contrib.training.urls')),
 
     (r'^site_media/rapidsms/(?P<path>.*)$', 'django.views.static.serve',
         {'document_root': '/home/tobias/.virtualenvs/rapidsms-from-django/lib/python2.6/site-packages/rapidsms/static', 'show_indexes': True}),