diff --git a/django_nose/plugin.py b/django_nose/plugin.py index 3cd7649..c8491fc 100644 --- a/django_nose/plugin.py +++ b/django_nose/plugin.py @@ -251,3 +251,14 @@ def prepareTest(self, test): if self.should_bundle: test = self._bundle_fixtures(test) return test + + +class PrintRightPlugin(Plugin): + """ + Prints out tests like path.to:TestClass.method + """ + name = 'printright' + + def describeTest(self, test): + address = test.address() + return "%s:%s" % (address[1], address[2])