Skip to content

Give access to what arguments were passed with in the signal #64

Closed
@billyshambrook

Description

@billyshambrook

Thanks for the great plugin!

Would be awesome if when using qtbot.waitSignal, you could access any arguments that were sent in the signal e.g.

with qtbot.waitSignal(worker.success) as blocker:
    pass
assert blocker.args == 'hello, world!'

What are your thoughts?

I'll take a stab at it if you think it's a good feature, thanks

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