Private
Public Access
1
0

adding tests to increase coverage

This commit is contained in:
Sander Roosendaal
2019-01-02 21:54:25 +01:00
parent 128609968a
commit 76d2325797
10 changed files with 3224 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
from django.test import TestCase
from rowers.models import *
class FormTests(TestCase):
def SetUp(self):
self.u = User.objects.create_user('john',
'sander@ds.ds',
'koeinsloot')
r = Rower.objects.create(user=u)
def test_form(self):
form = TeamInviteForm()