src/cm/tests/test_registration.py
changeset 305 df2c3202fd8e
equal deleted inserted replaced
304:19f313576d44 305:df2c3202fd8e
       
     1 from django.test import TestCase
       
     2 from django.test.client import Client
       
     3 from django.core import management
       
     4 
       
     5 
       
     6 from cm.models import *
       
     7 from cm.security import *
       
     8 from cm.tests.test_comment_positioning import create_comment
       
     9 
       
    10 
       
    11 class RegistrationTest(TestCase):
       
    12     fixtures = ['roles_generic','test_content']
       
    13     
       
    14     def test_registration(self):
       
    15         user = UserProfile.objects.create_inactive_user('no@noreply', False)
       
    16