Merge branch 'develop' into feature/testcoverage
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user