コード例 #1
0
 def setUp(self):
     self.margaret_user = create_margaret_user()
     self.uploader_user = create_uploader_user()
     self.elizabet_user = create_elizabet_user()
     self.R = Permission.objects.get(codename=READ)
     self.W = Permission.objects.get(codename=WRITE)
     self.D = Permission.objects.get(codename=DELETE)
コード例 #2
0
 def setUp(self):
     self.margaret_user = create_margaret_user()
     self.elizabet_user = create_elizabet_user()
     self.uploader_user = create_uploader_user()
     self.root_user = create_root_user()
     self.R = Permission.objects.get(codename=READ)
コード例 #3
0
 def setUp(self):
     self.root_user = create_root_user()
     self.margaret_user = create_margaret_user()
     self.elizabet_user = create_elizabet_user()