Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add autospec to unit test mocks #187

Closed
@susodapop

Description

@susodapop

Right now, thrift_backend.py adjusts behaviours to accomodate incompletely defined MagicMock objects. Rather than the business logic making affordances for MagicMock's not having a name attribute, we should simply add autospec to the relevant mocks. This was identified during reviews for #182.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions