diff --git a/backend/tests/test_template.py b/backend/tests/test_template.py deleted file mode 100644 index 4a3dda4..0000000 --- a/backend/tests/test_template.py +++ /dev/null @@ -1,16 +0,0 @@ -from django.test import TestCase -from workouts.models import Exercise - - -class User(TestCase): - def setUp(self): - Exercise.objects.create(name="Pushup", description="Pushup", unit="reps") - Exercise.objects.create(name="Running", description="Running", unit="minutes") - Exercise.objects.create(name="Dumbbell curl", description="Lifting dumbbells", unit="reps") - - def test_user_has_coach(self): - all_exercises = Exercise.objects.all() - num_reps = Exercise.objects.filter(unit="reps") - - self.assertEqual(len(all_exercises), 3) - self.assertEqual(len(num_reps), 2)