class WorkoutTestData(TrainerTestData): def setUp(self): super(TrainerTestData, self).setUp() self.workout = Workout( owner=self.user, name='Test Workout', ) self.workout.save() def tearDown(self): super(TrainerTestData, self).tearDown()
def setUp(self): super(TrainerTestData, self).setUp() self.workout = Workout( owner=self.user, name='Test Workout', ) self.workout.save()