Beispiel #1
0
 def setUp(self):
     self.regular_user = UserFactory()
     self.staff_user = StaffFactory()
     self.factory = RequestFactory()
Beispiel #2
0
 def setUp(self):
     self.user = StaffFactory()
     # notify 3 days before event
     ProfileFactory(user=self.user, event_reminder_time=3)
     self.case = CaseFactory(created_by=self.user)
     self.stdout = StringIO()
Beispiel #3
0
 def setUp(self):
     super().setUp()
     self.user = StaffFactory(username="******")
     self.issue = IssueFactory()
Beispiel #4
0
 def setUp(self):
     super().setUp()
     self.user = StaffFactory()
Beispiel #5
0
 def setUp(self):
     super(PermissionMixin, self).setUp()
     self.user = StaffFactory()