Private
Public Access
1
0

removing some warnings

This commit is contained in:
Sander Roosendaal
2021-04-14 13:06:34 +02:00
parent 196548fdcc
commit aa2315cb9b
12 changed files with 250 additions and 62 deletions

View File

@@ -14,8 +14,7 @@ from django.utils.six import BytesIO
from PIL import Image
from io import StringIO
import warnings
warnings.simplefilter("error")
def create_image(storage, filename, size=(100, 100), image_mode='RGB', image_format='PNG'):
"""
@@ -321,7 +320,7 @@ class WorkoutViewTest(TestCase):
form_data = {
'xaxis':'time',
'yaxis1':'power',
'yaxis2':'driveenergy',
'yaxis2':'pace',
'yaxis3':'hr',
'yaxis4':'spm'
}
@@ -343,7 +342,7 @@ class WorkoutViewTest(TestCase):
url = expected_url
form_data = {
'cols':['driveenergy','spm']
'cols':['hr','spm']
}
form = DataFrameColumnsForm(form_data)