Private
Public Access
1
0

improved most tests

This commit is contained in:
Sander Roosendaal
2019-01-04 18:14:42 +01:00
parent 879e16e057
commit c85bc53632
11 changed files with 1872 additions and 404 deletions

View File

@@ -113,7 +113,17 @@ def mocked_read_df_sql(id):
return df
def mocked_getsmallrowdata_db(*args, **kwargs):
df = pd.read_csv('rowers/tests/testdata/colsfromdb.csv')
return df
def mocked_read_df_cols_sql(ids, columns, convertnewtons=True):
df = pd.read_csv('rowers/tests/testdata/fake_strokedata.csv')
extracols = []
return df, extracols
class mocked_rowingdata(rowingdata):
def __init__(self, *args, **kwargs):