This commit is contained in:
hjoaquim
2024-02-01 08:05:10 +00:00
parent 30167b0a7b
commit fba1f2c6fd

View File

@@ -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,