fixing broken tests
This commit is contained in:
@@ -674,7 +674,7 @@ class InteractivePlotTests(TestCase):
|
||||
|
||||
def test_interactive_boxchart(self):
|
||||
df = pl.read_csv('rowers/tests/testdata/boxplotdata.csv')
|
||||
df = df.with_columns(pl.col("date").dt.strftime("%Y-%m-%d"))
|
||||
df = df.with_columns(pl.col("date").str.to_datetime("%Y-%m-%d"))
|
||||
|
||||
script, div = interactiveplots.interactive_boxchart(df, 'spm')
|
||||
|
||||
@@ -692,7 +692,7 @@ class InteractivePlotTests(TestCase):
|
||||
self.assertFalse(len(div)==0)
|
||||
|
||||
def test_interactive_otwcpchart(self):
|
||||
df = pd.read_csv('rowers/tests/testdata/otwcp.csv')
|
||||
df = pl.read_csv('rowers/tests/testdata/otwcp.csv')
|
||||
|
||||
script, div, p1, ratio, message = interactiveplots.interactive_otwcpchart(df,r=self.r,cpfit='data')
|
||||
self.assertFalse(len(script)==0)
|
||||
|
||||
Reference in New Issue
Block a user