Skip to content

No way to assign bound methods to tests #14

@jelmer

Description

@jelmer

(Forwarded from https://bugs.launchpad.net/testscenarios/+bug/393394)

As discussed on IRC, there is no way to assign a bound method to a test attribute.

The work around (or proper way ?) to achieve the desired effect is to use:
getattr(self, self.method_name)(args)
in the test setUp.

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