not sure if passing tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
from statements import *
|
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.http import Http404
|
||||||
from django.core.exceptions import PermissionDenied
|
from django.core.exceptions import PermissionDenied
|
||||||
@@ -92,9 +92,9 @@ class SimpleViewTest(TestCase):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# def test_getworkout(self):
|
def test_getworkout(self):
|
||||||
# with assert_raises(Http404):
|
with assert_raises(Http404):
|
||||||
# w = get_workout(123)
|
w = get_workout(123)
|
||||||
|
|
||||||
def test_deactivate(self):
|
def test_deactivate(self):
|
||||||
login = self.c.login(username=self.u.username, password=self.password)
|
login = self.c.login(username=self.u.username, password=self.password)
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
2
rowers/tests/testdata/testdata.tcx
vendored
2
rowers/tests/testdata/testdata.tcx
vendored
@@ -2502,7 +2502,7 @@
|
|||||||
</Trackpoint>
|
</Trackpoint>
|
||||||
</Track>
|
</Track>
|
||||||
</Lap>
|
</Lap>
|
||||||
<Notes><Element 'Notes' at 0x15213400></Notes>
|
<Notes><Element 'Notes' at 0x14d505f8></Notes>
|
||||||
</Activity>
|
</Activity>
|
||||||
</Activities>
|
</Activities>
|
||||||
<Creator>
|
<Creator>
|
||||||
|
|||||||
Reference in New Issue
Block a user