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)
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)
def setUp(self): self.root_user = create_root_user() self.margaret_user = create_margaret_user() self.elizabet_user = create_elizabet_user()