'Performed before every test'

def setUp(self):

    super(TestResumeMethods, self).setUp()
    self.facility = Facility(name=self.FACILITY)
    self.facility.save()
    self.user_with_no_activity = FacilityUser(username=self.USERNAME1, facility=self.facility)
    self.user_with_no_activity.set_password(self.PASSWORD)
    self.user_with_no_activity.save()
    self.user_with_activity = FacilityUser(username=self.USERNAME2, facility=self.facility)
    self.user_with_activity.set_password(self.PASSWORD)
    self.user_with_activity.save()
    self.user_with_old_activity = FacilityUser(username=self.USERNAME3, facility=self.facility)
    self.user_with_old_activity.set_password(self.PASSWORD)
    self.user_with_old_activity.save()
    self.original_exerciselog2 = ExerciseLog(exercise_id=self.EXERCISE_ID, user=self.user_with_activity, complete=False)
    self.original_exerciselog2.points = self.ORIGINAL_POINTS
    self.original_exerciselog2.attempts = self.ORIGINAL_POINTS
    self.original_exerciselog2.streak_progress = self.ORIGINAL_STREAK_PROGRESS
    self.original_exerciselog2.latest_activity_timestamp = self.TIMESTAMP_EARLY
    self.original_exerciselog2.completion_timestamp = self.TIMESTAMP_EARLY
    self.original_exerciselog2.save()
    self.original_exerciselog2 = ExerciseLog(exercise_id=self.EXERCISE_ID2, user=self.user_with_activity, complete=False)
    self.original_exerciselog2.points = self.ORIGINAL_POINTS
    self.original_exerciselog2.attempts = self.ORIGINAL_POINTS
    self.original_exerciselog2.streak_progress = self.ORIGINAL_STREAK_PROGRESS
    self.original_exerciselog2.latest_activity_timestamp = self.TIMESTAMP_LATER
    self.original_exerciselog2.completion_timestamp = self.TIMESTAMP_LATER
    self.original_exerciselog2.save()
    self.original_exerciselog3 = ExerciseLog(exercise_id=self.INVALID_EXERCISE_ID, user=self.user_with_old_activity, complete=False)
    self.original_exerciselog3.points = self.ORIGINAL_POINTS
    self.original_exerciselog3.attempts = self.ORIGINAL_POINTS
    self.original_exerciselog3.streak_progress = self.ORIGINAL_STREAK_PROGRESS
    self.original_exerciselog3.latest_activity_timestamp = self.TIMESTAMP_LATER
    self.original_exerciselog3.completion_timestamp = self.TIMESTAMP_LATER
    self.original_exerciselog3.save()
