Private
Public Access
1
0

Merge branch 'develop' into feature/testcoverage

This commit is contained in:
Sander Roosendaal
2021-01-16 11:04:36 +01:00
6 changed files with 16 additions and 2525 deletions

View File

@@ -41,6 +41,7 @@ from mock import Mock, patch
import pandas as pd
import rowers.c2stuff as c2stuff
import arrow
from django.http import HttpResponseRedirect
import json
import numpy as np
@@ -172,6 +173,9 @@ def mocked_read_df_sql(id):
return df
def mocked_sendmail(*args,**kwargs):
return HttpResponseRedirect('/rowers/email/')
def mocked_get_video_data(*args, **kwargs):
with open('rowers/tests/testdata/videodata.json','r') as infile:
data = json.load(infile)