No way to assign bound methods to tests

Bug #393394 reported by Vincent Ladeuil
6
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_name)(args)
in the test setUp.

Tags: docs
Changed in testscenarios:
status: New → Triaged
importance: Undecided → Critical
tags: added: docs
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.