HomePhabricator

Set __name__ on generated test functions

Authored by jayvdb.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Set name on generated test functions

When tests.aspects creates multiple tests for a specified list
of sites, it was setting the name of the generated test in the
test class dictionary, but nose 2.7 also needs the generated test
function to have name set.

Change-Id: I5687ec91dba68ffa671641c6c219f6a20bc5a84e
(cherry picked from commit 4ec75cd7a3882f383fdfd0c3d6c6b2b13e839492)

Details