not sure if passing tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user