Private
Public Access
1
0

Merge branch 'release/v9.44'

This commit is contained in:
Sander Roosendaal
2019-03-09 07:42:39 +01:00
4 changed files with 8 additions and 2 deletions

View File

@@ -145,8 +145,14 @@ def createrunkeeperworkoutdata(w):
except KeyError:
haslatlon = 0
t = t.tolist()
hr = hr.tolist()
d = d.tolist()
# path data
if haslatlon:
lat = lat.tolist()
lon = lon.tolist()
locdata = []
for e in zip(t,lat,lon):
point = {'timestamp':e[0],

View File

@@ -10,6 +10,7 @@ nu = datetime.datetime.now()
#@pytest.mark.django_db
@override_settings(TESTING=True)
class PlotTests(TestCase):
def setUp(self):
redis_connection.publish('tasks','KILL')

Binary file not shown.

View File

@@ -302,8 +302,7 @@ def myqueue(queue,function,*args,**kwargs):
if settings.TESTING:
return MockJob()
if settings.CELERY:
elif settings.CELERY:
kwargs['debug'] = True
job = function.delay(*args,**kwargs)