Relative Content

Tag Archive for pythonpytestpython-unittest

Pytest mock not returning dataframe….why?

I am writing unit tests for my trading bot and can not figure out why, when I call a method belonging to a mocked class object, the dataframe being passed inside the method call is not being altered as per method definition and/or not being altered at all.