From 9544b5a33f4e6f0e10f07aa524ff67b9a7dc35de Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 14 Jan 2019 18:42:33 +0100 Subject: [PATCH] not sure if passing tests --- rowers/tests/test_simplefunctions.py | 10 +++++----- rowers/tests/testdata/testdata.csv.gz | Bin 11437 -> 11437 bytes rowers/tests/testdata/testdata.tcx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rowers/tests/test_simplefunctions.py b/rowers/tests/test_simplefunctions.py index 3baac7d5..560dcca0 100644 --- a/rowers/tests/test_simplefunctions.py +++ b/rowers/tests/test_simplefunctions.py @@ -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) diff --git a/rowers/tests/testdata/testdata.csv.gz b/rowers/tests/testdata/testdata.csv.gz index c350ca0ece11e2dc7d4e16f5fd0947668c6e907b..91af79124afef3ef156e6cb943d01b4dd6b52f22 100644 GIT binary patch delta 15 WcmZ1*xi*qbzMF&N^~sHF%XI)Smj(*} delta 15 WcmZ1*xi*qbzMF$X>exoMq6Ieq diff --git a/rowers/tests/testdata/testdata.tcx b/rowers/tests/testdata/testdata.tcx index 1981775e..e8244da0 100644 --- a/rowers/tests/testdata/testdata.tcx +++ b/rowers/tests/testdata/testdata.tcx @@ -2502,7 +2502,7 @@ - <Element 'Notes' at 0x15213400> + <Element 'Notes' at 0x14d505f8>