mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 23:41:27 +00:00
tests
This commit is contained in:
@@ -116,10 +116,10 @@ def test_to_chart(mock_to_chart, obbject):
|
||||
obj = Charting(obbject)
|
||||
|
||||
# Act
|
||||
result = obj.to_chart()
|
||||
obj.to_chart()
|
||||
|
||||
# Assert
|
||||
assert result == mock_fig
|
||||
assert obj._obbject.chart.fig == mock_fig
|
||||
mock_to_chart.assert_called_once_with(
|
||||
"mock_dataframe",
|
||||
indicators=None,
|
||||
|
||||
Reference in New Issue
Block a user