Skip to content

Validate target status for VuMark instance generation #2981

@adamtheturtle

Description

@adamtheturtle

When a VuMark instance generation request is made via POST /targets/<target-id>/instances for a target that is not in the success state (e.g. still processing), the mock should return a TargetStatusNotSuccessError response.

Currently, the mock generates a VuMark instance regardless of target status.

See the xfail test in vws-cli: VWS-Python/vws-cli#1968

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