'Install owners and fixtures.'

def install_fixtures(self, model):

    if (not self.installed_auth):
        User = apps.get_model('auth.user')
        (self.test, c) = User.objects.get_or_create(username='test', is_staff=True, is_superuser=True)
        self.test.set_password('test')
        self.test.save()
        (self.other, c) = User.objects.get_or_create(username='other')
        self.other.set_password('test')
        self.other.save()
        self.installed_auth = True
    for n in range(1, 3):
        for u in [self.test, self.other]:
            model.objects.get_or_create(name=('test    #%s    for    %s' % (n, u)), owner=u)
