From 5794f0945fa58c0515946be6db26f95d4e801d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Mon, 30 Oct 2017 11:25:48 +0100 Subject: [PATCH] rename userN -> cbds_userN in check_olddata --- cof/management/commands/check_olddata.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cof/management/commands/check_olddata.py b/cof/management/commands/check_olddata.py index dc1ccd47..e176e73e 100644 --- a/cof/management/commands/check_olddata.py +++ b/cof/management/commands/check_olddata.py @@ -32,21 +32,21 @@ class Command(BaseCommand): self.stdout.write("* Utilisateurs... ", ending='') self.u1 = User.objects.get(username='cbds_user1') - assert self.u1.profile.login_clipper == 'user1' + assert self.u1.profile.login_clipper == 'cbds_user1' assert self.g_staff in self.u1.groups.all() assert self.g_members in self.u1.groups.all() assert self.u1.has_perm('cof.buro') assert self.u1.has_perm('cof.member') self.u2 = User.objects.get(username='cbds_user2') - assert self.u2.profile.login_clipper == 'user2' + assert self.u2.profile.login_clipper == 'cbds_user2' assert self.g_staff not in self.u2.groups.all() assert self.g_members in self.u2.groups.all() assert not self.u2.has_perm('cof.buro') assert self.u2.has_perm('cof.member') self.u3 = User.objects.get(username='cbds_user3') - assert self.u3.profile.login_clipper == 'user3' + assert self.u3.profile.login_clipper == 'cbds_user3' assert self.g_staff not in self.u3.groups.all() assert self.g_members not in self.u3.groups.all() assert not self.u3.has_perm('cof.buro')