Private
Public Access
1
0

not sure if passing tests

This commit is contained in:
Sander Roosendaal
2019-01-14 18:42:33 +01:00
parent 85845a215e
commit 9544b5a33f
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
from statements import *
from nose.tools import *
from nose.tools import assert_raises
from rowers.views import *
from rowers.views import get_workout
from django.http import Http404
from django.core.exceptions import PermissionDenied
@@ -92,9 +92,9 @@ class SimpleViewTest(TestCase):
# def test_getworkout(self):
# with assert_raises(Http404):
# w = get_workout(123)
def test_getworkout(self):
with assert_raises(Http404):
w = get_workout(123)
def test_deactivate(self):
login = self.c.login(username=self.u.username, password=self.password)