No way to assign bound methods to tests
Bug #393394 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testscenarios |
Triaged
|
Critical
|
Unassigned |
Bug Description
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_
in the test setUp.
Changed in testscenarios: | |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: docs |
To post a comment you must log in.