How to mock an Enum in pytest globally I have a trading bot project, let’s call it trading_bot. I am using python-binance. I have an enum