Merge commit '1134c81aad049d4357c8f299ffc801218f3d9574' into feature/objectify
This commit is contained in:
@@ -43,6 +43,11 @@ def test_analyze_object() -> None:
|
||||
assert hasattr(Analyze, 'min_roi_reached')
|
||||
|
||||
|
||||
def test_dataframe_correct_length(result):
|
||||
dataframe = Analyze.parse_ticker_dataframe(result)
|
||||
assert len(result.index) == len(dataframe.index)
|
||||
|
||||
|
||||
def test_dataframe_correct_columns(result):
|
||||
assert result.columns.tolist() == \
|
||||
['close', 'high', 'low', 'open', 'date', 'volume']
|
||||
|
||||
Reference in New Issue
Block a user