Fix document list generation for the document's type change views. Move type change event and recent document addition to the models. Add view tests for the document's type change views.

This commit is contained in:
Roberto Rosario
2015-10-20 20:03:54 -04:00
parent ebfd37ebf5
commit 9fbc8647b8
4 changed files with 171 additions and 25 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
from __future__ import unicode_literals
TEST_ADMIN_EMAIL = 'admin@admin.com'
TEST_ADMIN_EMAIL = 'admin@example.com'
TEST_ADMIN_PASSWORD = 'test_admin_password'
TEST_ADMIN_USERNAME = 'test_admin'
TEST_EMAIL_AUTHENTICATION_BACKEND = 'authentication.auth.email_auth_backend.EmailAuthBackend'
TEST_USER_EMAIL = 'user@example.com'
TEST_USER_PASSWORD = 'test_user_password'
TEST_USER_USERNAME = 'test_user'