Jaymon / testdata

Python module to make testing easier, it can generate random data like names and text, run commands, fetch urls, create files and directories, and more
MIT License
10 stars 0 forks source link

mock should be able to change what classes it inherits from #61

Open Jaymon opened 4 years ago

Jaymon commented 4 years ago

The idea would be to be able to have the mocked instances easily pass isinstance and issubclass checks.

This is relevant:

search:

Jaymon commented 4 years ago

These might also be relevant: Adding a Method to an Existing Object Instance

search:

Jaymon commented 6 months ago

This will be easier than expected using the __class__ attribute (via)

Jaymon commented 5 months ago

https://stackoverflow.com/a/76991193

Jaymon commented 5 months ago

While working on something else I had all these links open that are more related to this