- Where Developers Learn, Share, & Build Careers
I need a dummy object that I can input into Python and create attributes through the settings () for programmate I am
I made it into an object but probably for a good reason which was not working.
How can I use for such purposes in Python, do not really define yourself
You can not use Fake = object , instead of just
object
Class duplicate (object): pass fake = mock () setter (fake, 'test', 'whatever')
Comments
Post a Comment