~pidgeon690/mypidge-base/feature+publicity

« back to all changes in this revision

Viewing changes to MyPidge/Groups/tests/models.py

  • Committer: Fergus Ross Ferrier
  • Date: 2008-12-01 20:32:29 UTC
  • Revision ID: me@fergusrossferrier.co.uk-20081201203229-tz2yh5ylrdihckkw
User now exists in Person multi-table hierarchy.

We can add people without needing them to register. We can use existing data for a person when they try and register. It's a real bitch to use though.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
class GroupManagerTests(TestCase):
12
12
    
13
13
    def setUp(self):
14
 
        self.fergus = User.objects.create(firstname="Fergus", lastname="Ferrier", email="fff21@cam.ac.uk", crsid="fff21")
 
14
        self.fergus = User.objects.create(firstname="Fergus", lastname="Ferrier", email="fff21@cam.ac.uk",password = "blah")
15
15
        self.fergus.UpdatePassword("password")
16
16
        self.category = GroupCategory.objects.create(name = "ThusTag", all_can_create = True)
17
17
        self.tagone = GroupTag.objects.create(name = "TagEinz", description = "Here's the first.")