I tried to write a test for this but I keep getting an error that the list is not callable. How can I patch nodes.items() so that items returns a list? # Get li
I have an api which is representative of the structure of: from fastapi import FastAPI, Depends, Request, APIRouter class SomeManager: def get_value_from
A project I'm involved in uses testbook to test code cells of Jupyter notebooks. Patching works fine — unless the code to be tested asks for