Skip to content

hybrid mock support for dynamic instances (that use getattr themselves) #12

@yalon

Description

@yalon

It would be great if hybrid mock would support wrapping an object that implements getattr as a way to call methods (hint: rpc).

If the object implements __dir__ it would be even more awesome if the hybrid mock will query it and allow these methods to be mocked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions