some warnings
This commit is contained in:
@@ -16,7 +16,9 @@ except NameError:
|
||||
import pytest
|
||||
|
||||
import warnings
|
||||
#warnings.filterwarnings("error",category=UserWarning)
|
||||
#warnings.filterwarnings("error",
|
||||
# category=DeprecationWarning
|
||||
# )
|
||||
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ class PlannedSessionTests(TestCase):
|
||||
d1 = startdate.strftime("%Y%m%d"),
|
||||
d2 = enddate.strftime("%Y%m%d"),
|
||||
)
|
||||
self.assertEquals(
|
||||
self.assertEqual(
|
||||
response.get('Content-Disposition'),
|
||||
'attachment; filename="{name}"'.format(name=filename)
|
||||
)
|
||||
|
||||
@@ -111,7 +111,7 @@ class OwnApi(TestCase):
|
||||
login = self.c.login(username=self.u.username, password=self.password)
|
||||
self.assertTrue(login)
|
||||
|
||||
w = self.user_workouts[0]
|
||||
w = self.user_workouts[1]
|
||||
|
||||
url = reverse('strokedataform_v2',kwargs={'id':encoder.encode_hex(w.id)})
|
||||
response = self.c.get(url)
|
||||
|
||||
Reference in New Issue
Block a user