further coverage increases
This commit is contained in:
@@ -5,7 +5,7 @@ pytestmark = pytest.mark.django_db
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import re
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
from django.test import TestCase, Client,override_settings
|
||||
from django.core.management import call_command
|
||||
from django.utils.six import StringIO
|
||||
@@ -62,7 +62,7 @@ class AjaxTests(TestCase):
|
||||
starttime=self.nu.strftime('%H:%M:%S'),
|
||||
duration="0:55:00",distance=8000,
|
||||
csvfilename=self.filename)
|
||||
|
||||
|
||||
self.wote = Workout.objects.create(name='testworkout',
|
||||
workouttype='Indoor Rower',
|
||||
user=r,date=self.nu.strftime('%Y-%m-%d'),
|
||||
@@ -72,7 +72,7 @@ class AjaxTests(TestCase):
|
||||
|
||||
|
||||
self.c = Client()
|
||||
|
||||
|
||||
def test_toggle_ranking(self):
|
||||
response = self.c.get(
|
||||
'/rowers/workout/1/toggle-ranking/',
|
||||
|
||||
Reference in New Issue
Block a user