Django 1.2 unittests: Second time through, things get weird

2010-08-26 Thread Elf_Sternberg
Is anyone seeing this? I have this function at the top of my unittest: def create_user(name): username = name.replace(' ', '').lower() return User.objects.create_user(username, username + '@a.com', 'password') And then (this is ultimately the code I derived to examine this behavior): cl

Re: Django 1.2 unittests: Second time through, things get weird

2010-08-26 Thread Karen Tracey
On Thu, Aug 26, 2010 at 1:43 PM, Elf_Sternberg wrote: > Is anyone seeing this? I have this function at the top of my > unittest: > > def create_user(name): >username = name.replace(' ', '').lower() >return User.objects.create_user(username, username + '@a.com', > 'password') > > And then

Re: Django 1.2 unittests: Second time through, things get weird

2010-08-26 Thread Russell Keith-Magee
On Fri, Aug 27, 2010 at 1:43 AM, Elf_Sternberg wrote: > Is anyone seeing this?  I have this function at the top of my > unittest: > > def create_user(name): >    username = name.replace(' ', '').lower() >    return User.objects.create_user(username, username + '@a.com', > 'password') > > And then