Can I "fake" a package ( or at least a module ) in python for testing purposes?
How to "fake" a module safely in a Python package Fake module used by other modules
Which XML library for what purposes? How to provide additional argument in a public function for testing purposes? how to make a fake post request using unittest module with cookies and data? create fake process in Python Python mock to create a fake object returns dictionary when any of it's attribute is used Python import for testing within same package Mapping a 'fake' object in SQLAlchemy Fake out module including attributes How to load my fake module every time when `import a real module` in python? How to create fake text file in Python Python: block network connections for testing purposes? Is it possible to create a Python list and fake populating it? How can I fake a missing dependency for unit testing in python? Is there way I can fake a fk in django Keeping a connection open for the purposes of testing How to use Python requests to fake a browser visit? How to fake keyboard input with Python How to fake type with Python Graypy not giving error when fake hostname given How to fake a soap response in Python? How to fake/proxy a class in Python Add "fake" model entry to admin index Is it bad to do fake inheritance for a classes attribute How can I fake request.POST and GET params for unit testing in Flask? Creating a fake request to render a view to a string in django Generate a list of a given length with fake elements. Django Python Tabs Fake or Real Python testing: using a fake file with mock & io.StringIO