Skip to content
Snippets Groups Projects
Commit ef204525 authored by Haakon Gunleiksrud's avatar Haakon Gunleiksrud
Browse files

get initial test of permissions.py

parent 7bd8552a
No related branches found
No related tags found
3 merge requests!15Dev,!10Dev,!9Fr5 bb testing
......@@ -2,5 +2,21 @@
Tests for the workouts application.
"""
from django.test import TestCase
from workouts.models import Workout
# Create your tests here.
"""
Tests for ./permissions.py
"""
class IsOwnerTestCase(TestCase):
def setUp(self):
#Workout.objects.create(name="testworkout")
#testworkout = Workout.objects.get
return super().setUp()
def test_has_object_permission(self):
self.assertEqual(True,True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment